Java Program to Compute Quotient and Remainder - safetxt
avatar
Java Program to Compute Quotient and Remainder

mrt481 867 28th Aug, 2022

Java 0.33 KB
Loading Please wait...
Description

In the above program, we have created two variables dividend and divisor. Here, we are calculating the quotient and remainder by dividing 25 by 4. To find the quotient, we have used the / operator. We have divided dividend (25) by divisor (4). Since both dividend and divisor are integers, the result will also be integer.


Recent Pastes

Please disable your adblock and script blockers to view this page