Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
If Statement/ Decrements V2
#include <stdio.h> void main() { int myVar; printf("enter a value:\n"); scanf("%d", &myVar); if (--myVar) printf("True--\n\n"); if (++myVar) printf("False--\n\n"); } //THE DECREMENT AFTER THE VARIABLE DOES NOT AFFECT THE IF CONDITION IF AFTER //THE DECREMENT BEFORE THE
run
|
edit
|
history
|
help
0
Project 3 Part 1 v1.0
5 trabajo semanal 4
table of 123
1
Example of scanf and basic integer manipulation - with function call
test
Part 1: Draw Arts
hw 2
Poiter minus
eliminate_duplicates.c