Write a program in JAVA to enter two
numbers .Divide first number by
second and print the quotient and
remainder.
Answers
Answered by
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