#include<stdio.h> #include<stdlib.h> main() { int x,y; printf("please enter 2 numbers x and y:\n"); scanf("%d%d",&x,&y); printf("they are \n%d\n%d\n ",x,y); printf("total of the numbers are %d\n",x+y); system("PAUSE"); return 0; } 不知道你知不知道这是在linux下运行的