Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  as
Language: C/C++
Code:
#include <stdio.h>
 
int main(void)
{
int x, x1, x2, x3, x4, y;
    scanf("%d", &x);
    x1=x%10;
    x2=x / 10 % 10;
    x3=x / 100 % 10;
    x4=x/1000;
    y=x1*1000+x2*100+x3*10+x4;
    
    printf("%d\n", &y);
    return 0;
}
Comments: