Computer Science, asked by student8425, 3 months ago

Divide n with m and store remainder in x​

Answers

Answered by himanshu2006vps
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