subject

The user will input a three digit number if they input 678 I need to output 876

I have 8 and 6 but I can't get 7

help me

/* Unit 1 - Lesson 5 - Coding Activity Question 1 */

import java. util. Scanner;

class U1_L5_Activity_One {
public static void main(String[] args) {
Scanner scan = new Scanner(System. in);
System. out. print("Please enter a two digit number: ");
int x = scan. nextInt();
System. out. println("Here are the digits:");
System. out. println(x/100);
System. out. println(x/10);
System. out. println(x%10);

}
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
Write a function that draws a pool ball. this function should take as parameters, the color, the number that should go on the pool ball, and the location of the center of the pool ball. the radius of the pool balls should be pool_ball_radius, and the font of the number should be pool_ball_font. the text of the pool ball font should be white. drawpoolball(color.orange, 5, 100, 100); drawpoolball(color.green, 6, 50, 200); drawpoolball(color.red, 3, 150, 350); drawpoolball(color.blue, 2, 250, 140); to center the numbers on the pool ball, you should use the getwidth() and getheight() methods. you are allowed to call these methods on your text object, such as txt.
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
What season was better from fortnite?
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
What are the different parts of computer
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
You know the right answer?
The user will input a three digit number if they input 678 I need to output 876

I have...
Questions
question
History, 01.11.2020 18:30
question
Medicine, 01.11.2020 18:30
question
Social Studies, 01.11.2020 18:30
question
Mathematics, 01.11.2020 18:30
question
English, 01.11.2020 18:30
question
German, 01.11.2020 18:30
question
Mathematics, 01.11.2020 18:30
Questions on the website: 13722362