#include <stdio.h> int main () { int p,x,y; scanf("%d%d",&x,&y); //error C2059: syntax error : '%' printf("The sum of x and y is:%d",p) ; // printf("The sum of x and y is:%";,p) p=x+y; //syntax error : missing ';' before 'return' /* int p,x,y; scanf ("%d%d",&x,&y); printf("The sum of x and y is: %d", p); p=x+y;*/ return 0; }
浙公网安备 33010602011771号