Computer Science, asked by iamlightningboy, 3 months ago

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);

Answers

Answered by Anonymous
0

Answer:

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

Similar questions