Want this question answered?
#include<stdio.h> #include<conio.h> void main() { int n,r,rev=0; clrscr(); printf("Enter a four digit number:"); scanf("%d",&n); while(n>0) { r=n%10; rev=rev*10+r; n=n/10; } printf("Reversed format of the number is %d",rev); printf("Now the digits are splitted\n"); while(rev>0) { r=rev%10; printf("%d\t",r); rev=rev/10; } getch(); }
class position//Finds the position of the digit of the number{public static void main(String...args){System.out.println(pos(1536,6));}static int pos(int n,int m){int i=0,rev=0,r;while(n>0){r=n%10;rev=rev*10+r;n=n/10;}while(rev>0){r=rev%10;if(r==m){i++;break;}rev=rev/10;i++;}return i;}}output:4
There is no such thing as a CD+R.
//To check whether a number is Kaprekar or not public class kaprekar { public static void main(int x)//Enter number { int num=x*x,no=x,digit=0; int rev=0; do { digit++; no=no/10; } while (no>0); no=num; while(digit > 0) { rev=rev*10+no%10; no=no/10; digit--; } int r=0; while(rev > 0) { r=r*10+rev%10; rev=rev/10; } if((r+no)==x) { System.out.println("It is a Kaprekar No. "); } else{ System.out.println("It is not a Kaprekar No. "); } } }
Radieuse, rayonnante
Toy's r us
a brief history of the slave life of Rev L R Ferebee, and the battles of life, and four years of his ministerial life Written from memory to 1882
was betty wright the r&b singer married to rev timothy wright?
Etes-vous intéressés par le sexe?
they a r both different continents with different
#include<stdio.h> #include<conio.h> void main() { long int reverse(long int n); clrscr(); printf("%ld",reverse(12345)); getch(); } long int reverse(long int n) { long int r,rev=0; while(n>0) { r=n%10; rev=rev*10+r; n=n/10; } return rev; }
Wallace R. Maples has written: 'Opportunities in Aerospace Careers, Rev. Ed'