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, num and num 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 num and num are equal to let Java figure
that out. Simply use the variable names num and num 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, divided
by is therefore, is the quotient.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
