#include<stdio.h>
int main()
{
int a;
scanf("%d",&a); //read a integer from stdin
printf("%d",a); //prints to the console
fflush(stdin); //flushes the carriage return we press after entering the integer
getchar(); //wait for a keyboard input
return 0;
}
int main()
{
int a;
scanf("%d",&a); //read a integer from stdin
printf("%d",a); //prints to the console
fflush(stdin); //flushes the carriage return we press after entering the integer
getchar(); //wait for a keyboard input
return 0;
}
0 comments:
Post a Comment