What will be the output of the following expressions/statements? [6]
i. int a = 204, b=3, c=2;
if(a%b==0 && b !=c)
{
System.out.println(a*b);
System.out.println(a/b);
}
else
{
System.out.println(a+(a*b));
System.out.println(a/b);
Answers
Answered by
1
Answer:
612
68
Explanation:
(a%b==0 && b !=c)
(204%3 == 0 && 3 != 2)
204 * 3 = 612
204 / 3 = 68
Hope it helps!
Please mark as brainliest!
Answered by
2
Answer:
please mark me as brainlist please follow me guys please follow me please please please please
Similar questions