# 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();
}
write the javascript code to display the reverse no. of given no. (e.g. 247 reverse of 742)
question clarity
Yes.
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.
hexadecimal dumper, which prints or displays the binary numbers of a program in hexadecimal format.
I am not aware of any research to support the assertion that it is easier to remember numbers in reverse.
Undur
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); }
reverse programe in fox pro
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.
#include<stdio.h> #include<conio.h> 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(); }
It means, Double Die Reverse