resubmission
This commit is contained in:
@@ -6,7 +6,7 @@ int main(void) {
|
||||
printf("Input integer: ");
|
||||
scanf("%d", &n);
|
||||
|
||||
if (n <= 10 && n > 0) {
|
||||
if (n < 10 && n > 0) {
|
||||
printf("%d is one digit natural number.\n", n);
|
||||
} else {
|
||||
printf("%d is not one digit natural number.\n", n);
|
||||
|
||||
Reference in New Issue
Block a user