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, 24.06.2019 00:00
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
question
Computers and Technology, 25.06.2019 04:00
Use the wrap text icon to modify which graphic appears in the front of layered images modify the picture effects change the way text is wrapped around an object apply wordart to the text
Answers: 1
question
Computers and Technology, 25.06.2019 19:00
Which of the following statements is true of field names? a. they should be as short as possible. b. they should use abbreviations. c. they should use words such as name and date. d. they should have special characters.
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
English, 06.07.2019 23:00
Questions on the website: 13722360