How many times will the loop get executed and what will be the output of the following code?
int m = 2, n =15;
for ( int i = 1; i<5; i++)
{
m++ ;
- -n ;
if ( m == 4)
break;
}
System.out.print(“m = “ +m);
System.out.print(“ n = “ + n);
System.out.print(“ i = “ + i);
Answers
Answered by
1
Answer:
plz plz plz follow me friends plz and mark me as brainlliest plz plz friends
Similar questions