(a) Predict the Output of the Given Snippet, when Executed
int a=1,b=1,m=10,n=5;
if((a==1)&&(b==0))
{
System.out.println((m+n));
System.out.println((m—n));
}
if((a==1)&&(b==1))
{
System.out.println((m*n));
System. out.println((m%n));
}
Answers
Answered by
4
Answer:
50
1
Explanation:
Similar questions
Political Science,
3 months ago
Physics,
3 months ago
Math,
7 months ago
Computer Science,
7 months ago
Science,
11 months ago
English,
11 months ago