Question: Java Program Qns using BlueJ
Write a program that accepts one 3-digit and one 1-digit whole numbers from the command line, and output the working of the division of the 3-digit number (dividend) by the 1-digit number (divisor), showing the carry, the quotient and the remainder. The program should output the carry digit on the first line, the divisor and dividend on the second line, and the quotient and remainder on the last line. For example, if the two numbers are 158 and 7, the program should output: 1 1
0 2 2 R4 If the two numbers are 447 and 3, then the program should output: 1 2
1 4 9 R0 Note that you should not hardcode the values of the integers to be divided in your program. Instead, your program must read the values from the command line. Submit your program listing together with screenshots showing THREE runs of your program with the sample inputs (ΓΆβ?¬Ε?158ΓΆβ?¬Β? , ΓΆβ?¬Ε?7ΓΆβ?¬Β?) , (ΓΆβ?¬Ε?447ΓΆβ?¬Β? , ΓΆβ?¬Ε?3ΓΆβ?¬Β?) on the command line and another pair of your own choice. Include your name and student number in the output.