Computer Science, asked by anindita4, 16 days ago

Predict the output :

 int m=3,n=5,p=4;

 if(m==n && n!=p)

 {

 System.out.println(m*n);

System.out.println(n%p);

 }

System.out.println(m%p);

 ​

Answers

Answered by atrs7391
6

The output will be only 3 as [if(m==n && n!=p)] this statement is false.

Similar questions