Write a program that input four-digit number, then prints the number with its digits reversed .
寫一個輸入4位數字,反轉輸出這個數字的值
Example input:
5455
Example output:
5545
5400
45
Hidden content!**** * ** *** * *int * ** {* * * * * * int a,b,c,d;* * * * ** ** * * * ** ** * * %1d %1d * * * * ** ** * ** ** * * ** * * *** ** ** * * * * ** ** ** * ** * * ** * ** ** * * ** * return 0;** ** * *** * ***** * * ** * * * * }
Hidden content!#include <stdio.h>#include <stdlib.h>int main(){ * * * ***** * ** ** * a,b,c,d;