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
3
Answer:
output will be.....
Explanation:
50
2
Similar questions