Question: Instructions Two variables, num 1 and num 2 , are provided to you. Output the remainder when the first variable has been divided by On

Instructions
Two variables, num1 and num2, are provided to you.
Output the remainder when the first variable has been divided by
On a separate line, output the quotient when the second variable
has been divided by the first variable. You shouldn't be
determining what num1 and num2 are equal to... let Java figure
that out. Simply use the variable names num1 and num 2 in your
calculations and Java will have evaluate them.
Hints:
Look at the modulo operator to determine a remainder.
A quotient is the result of a division. For example, 12 divided
by 3 is 4-- therefore, 4 is the quotient.
Instructions Two variables, num 1 and num 2 , are

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!