0

Write a program to read 2 value x, y and print the quotient and remainder value separately of division (x/y)

any one can doo

22nd Oct 2017, 3:54 AM
Sunil Kumar Gupta
Sunil Kumar Gupta - avatar
1 Resposta
+ 17
scanner sc=new scanner(System.in); int n=sc.nextInt (); int m=sc.nextInt (); System.out.println ("sum is "+(m+n)+"\ndifference is "+(m-n)); // buddy , i think u should try something with ur own , i am telling u answer ... but i'm not helping u 😐
22nd Oct 2017, 6:11 AM
Gaurav Agrawal
Gaurav Agrawal - avatar