#include <stdio.h>
#include <stdlib.h>
void main(void)
{
int i_number=0;
printf("\nPlease input a number:");
scanf("%d",&i_number);
printf("\nI got the number you inputed,it is %d",i_number);
system("pause");
}这样吧,相当于一个暂停。