-
-
Save anonymous/ae52bc7c9ad75023d879 to your computer and use it in GitHub Desktop.
my code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdbool.h> | |
int numr(int max) { | |
int num = 2; | |
scanf("%d", &num); | |
if (num > max) { | |
printf("option not available\n"); | |
} | |
else { | |
return num; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment