this is code is confusing please help | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

this is code is confusing please help

/** * */ public class peck { /** * */ static public void main(String[] args) { int m=2; int n=15; for(int i=1;i<5;i++) m++;--n; System.out.println("m= "+m); System.out.println("n= "+n); } } out put is m= 6 n= 14

3rd Oct 2017, 12:41 PM
Malhar Mujumdar
Malhar Mujumdar - avatar
4 Réponses
+ 3
can you please explain in detail \
3rd Oct 2017, 12:42 PM
Malhar Mujumdar
Malhar Mujumdar - avatar
3rd Oct 2017, 12:40 PM
Daniel
Daniel - avatar
+ 2
Increase m and decrease n 4 times and show result
3rd Oct 2017, 12:41 PM
Daniel
Daniel - avatar
+ 1
what do you need exactly to explain?
3rd Oct 2017, 1:25 PM
Daniel
Daniel - avatar