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!#include <stdio.h>#include <stdlib.h>int main(){ **** * * ** * * ** * d1,d2,d3,d4; ** ** ** *** * * ** * ** *** ***** * * * * ** * *** ** ** ** * ** ** * * * * *** * * * * ** * * & d3==0 & d2==0)