Computer Science, asked by ishana78, 6 months ago

Write a program in JAVA to enter two
numbers .Divide first number by
second and print the quotient and
remainder.

Answers

Answered by 8472
5

Answer:

class num

{

public static void main (int a,intb)

{

double quotient=a/b;

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

double remainder=a%b;

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

}}

Hope it helps pls mark it as brainliest and follow me.....

Similar questions