#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;
}

 

posted on 2017-09-07 10:14  刘趁趁  阅读(129)  评论(0)    收藏  举报