Menu

(Solved) : Using Knowledge Java Following Construct Program Following Display Name Assignment Number Q43967248 . . .

Using your knowledge of Java, do the following:

  1. Construct a program that does the following:
    1. Display your name and the assignment number usingprintln().
    2. Prompt the user and read in four integers (i1, i2, i3, i4) (useprint()
    3. Displays the four integers to the screen (use println())
    4. Using the entered values, display the following results:
    5. i1 + i2 + i3 + i4
    6. i1 * i2 – i3 * i4
    7. i1 * (i2 + i3) * i4
    8. (i1 + i2 + i3 + i4) % i1
    9. Output the lesser of i1 and i2 using printf.
    10. Output the greater of i1+i2 and i3*i4 usingprintf.
    11. Determine if i1 is a multiple of i2, i3, or i4. Display thedetermination results (Hint: use the Remainder (%)operator).
  2. Set a breakpoint after the four integers have been entered anddetermine the values using the variable/watch window.

Expert Answer


Answer to Using your knowledge of Java, do the following: Construct a program that does the following: Display your name and the a…

OR