Divide n with m and store remainder in x
Answers
Answered by
0
Answer: import java.io.*;
public class QuotientRemainder {
public static void main(String[] args) {
int dividend = 25, divisor = 4;
int quotient = dividend / divisor;
int x = dividend % divisor;
System.out.println("Quotient = " + quotient);
System.out.println("Remainder = " + x);
}
}
Similar questions
Hindi,
2 months ago
Social Sciences,
2 months ago
History,
4 months ago
Hindi,
4 months ago
Hindi,
10 months ago