Question: so far for my code, the numbers only output, 250 when I put 2002 can anyone help me fix the output? Thank you. It is

Write a program using integers userNum and divNum as input, and output userNum divided by divNum three times. Note: End with a newline. Ex: If the input is: 20002 the output is: 1000500250 Note: In Java, integer division discards fractions. Ex 6/4 is 1 (the 0.5 is discarded) Default Template import java.uti1, scanner; public class Labprogram i public statio void main (String[] args) I 1. Type your code here. * Console i. Problems D Debug shell Lterminated> Labintegars [Java Application] /Users/laurenstone/p2/pool/plugins/org.eclipse.justi.open]dik.hotsp. 20002 250
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
