Show the steps and write the output for the following in Java program
int a=3,b=5, d,r;
d=b/a;
r=b%a;
System.out.print(“Result 1:”+d);
System.out.println(“Result 2:”+r);
GIVE A APPROPRIATE ANSWER!
Answers
Answered by
0
Answer:
Output:
Result 1: 1 Result 2: 2
Hope this helps you..
Mark it as brainliest..
Similar questions