+ 3
Write a java program to print the reverce of 62
use java only
4 Réponses
+ 3
tell me the program
+ 10
m1)
int x=62,r,s=0;
while (x ! =0)
{r=x%10;
x /=10;
s=s*10 + r;
}
System.out.println("reverse of 62 is" + s);
m2)
System.out.print("26"); //😂
+ 9
is it bcz u hv written reverce ... not reverse 😂 ... idk meaning of reverce ... i thought it to be ur spell mistake
or some mistake in the code 😐 ... i don't hv tried it ... but know it will work ... it must work