. Advertisement .
..3..
. Advertisement .
..4..
Can someone give me an answer for How To Get An Integer From User Input? I can’t do it yet. Thank you very much!
#include <stdio.h>
int main() {
int number;
printf("Enter an integer: ");
scanf("%d", &number);
printf("You entered: %d", number);
return 0;
}
you can try this way