Beyond Knowing
Ed Tools
Play Quiz
Sign in
Join Sookshmas
Beyond Knowing
Jobs
Ed-Tools
Play Quiz
Kusuma Arunkumar
Wall
Questions
e-Notes
Calculations
MCQs
News/Article
package sook;
public class Sook
{
public static void main(String[] args) {
int number=789,reverse=0;
while(number!=0)
{
int remainder=number%10;
reverse=reverse*10+remainder;
number=number/10;
}
System.out.println(reverse);
}
}
Artificial intelligence
Engineering-AI
Engineering-CS
Machine learning
Engineering-IT
Engineering-IS
Software engineering
Coding
Java
Posted on
by
Score
Share
Views
Comment(s)
Please
Login
to post your answer or reply to answer
Recent MCQ Comments
Recent MCQs
Top Scored MCQs
Scroll
×
Login to India's fastest growing social media for Self-Learners!
Sign in with Google
OR
Not registered?
Create an account
Forgot Password?
×
Join India's fastest growing social media network for learning and education!
Sign in with Google
OR
Already a registered user?
Login