Question: Write a program that reads an integer from input and outputs that integer multiplied by 5. Ex: If the input is 2, then the output
Write a program that reads an integer from input and outputs that integer multiplied by 5. Ex: If the input is 2, then the output is: 10 To solve, replace /* Your solution goes here */ with:
number = scnr.nextInt(); System.out.println(number * 5);
Then click "Run".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
