Computer Science, asked by sangitaksingh99, 2 months ago

Wap in java to display the quotient if the divident is 4265 and the diviser is 5​

Answers

Answered by Anonymous
1

Answer:

public class QuotientRemainder {

public static void main(String[] args) {

int dividend = 4625, divisor = 5;

int quotient = dividend / divisor;

int remainder = dividend % divisor;

System.out.println("Quotient = " + quotient);

System.out.println("Remainder = " + remainder);

}

}

Similar questions