Create IfThen.c
parent
86bae39e32
commit
96c0844568
|
@ -0,0 +1,11 @@
|
|||
#include <stdio.h>
|
||||
int main () {
|
||||
int number;
|
||||
scanf("%d",&number);
|
||||
if (number>0) {
|
||||
printf("%d\n",number);
|
||||
}
|
||||
else {
|
||||
printf("");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue