Computer Science, asked by Anonymous, 5 months ago

c) int a=8, b=5;
int c=a+ a/b;
int d=b*a%b;
What will be the output of c and d?​

Answers

Answered by rgjanai84
3

Answer:

c =9

d =15

Explanation:

by using the rule BEDMAS

c=a+a/b

=8+8/5

=8+1 =9

d=b*a%b

=5*8%5

=5*3 =15

Similar questions