Computer Science, asked by sabkapapa100power, 4 months ago

predict the output of given snippet
(1). 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 amanaby2005
3

Answer:

output will be.....

Explanation:

50

2

Similar questions