answersLogoWhite

0


Best Answer

# include<stdio.h>

# include<conio.h>

void main()

{

int n;

printf("enter the number");

scanf("%d",&n);

while(n>0)

{

s=n%10;

printf("%d",s);

n=n/10;

}

getch();

}

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program that inputs four digits numbers like 1234 from user and then display it in reverse order in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a program that outputs a given characters in reverse?

write the javascript code to display the reverse no. of given no. (e.g. 247 reverse of 742)


How do you Write a program in 'c' language which accepts int numbers from the users print its reverse number x function which return value?

question clarity


Write a function to reverse a string and to display it?

Yes.


What is the use of Reverse String in C program?

The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.


What is one tool for reverse engineering software and five features of that tool?

hexadecimal dumper, which prints or displays the binary numbers of a program in hexadecimal format.


Why is it easier to remember numbers in reverse?

I am not aware of any research to support the assertion that it is easier to remember numbers in reverse.


What is reverse in Malay language?

Undur


How you write a program in c plus plus to print plaindromic numbers from 1 to n?

To check if a number is a palindrome, reverse the number and see if it is equal to the original number. If so, the number is a palindrome, otherwise it is not. To reverse a number, use the following function: int reverse(int num, int base=10) { int reverse=0; while( num ) { reverse*=base; reverse+=num%base; num/=base; } return(reverse); }


Fox pro program to reverse the given number?

reverse programe in fox pro


How old is Arabic spoken language?

Arabic is one of the oldest spoken languages in the world, with roots dating back to the 6th century. It has evolved over time and is now spoken as a primary language by millions of people in countries across the Middle East and North Africa.


How can you write a c program to display the numbers 3572 in the reverse order?

#include&lt;stdio.h&gt; #include&lt;conio.h&gt; void main() { int n=3572; int sum=0; int rem; clrscr(); while(n!=0) { rem=n%10; sum = sum + rem; n=n/10; } printf("%d",sum); getch(); }


What is the display DDR on graded coins mean?

It means, Double Die Reverse