Question: Write a program using integers userNum and divNum as input, and output userNum divided by divNum three tifnes Note End with a newline. Ex if

Write a program using integers userNum and divNum as input, and output userNum divided by divNum three tifnes Note End with a newline. Ex if the input is: 20002 the output is Note in Java, integer division discards fractions. Ex: 6/4 is 1 (the 0.5 is discarded). LabProgram.java 1importjava.util.Scanner;23publicclassLabProgram{4publicstaticvoidmain(String[]args){5fypeyourcodehere.%678
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
