Computer Science, asked by tanmoypasker, 1 year ago

public class Mm
{
public static void main(String [] args)
{
for (int i=-10;i<=0;i++)
System. out. println(i);
}
}

guys plz...help me to find it really urgent]

Answers

Answered by Anonymous
2
HEY MATE HERE IS ANSWER,,,,,,,,,,,,,

The value of i is -10 and since it is said to ++ we will increment the value of value of variable by 1 so the answer will be,,,,,,,,,,

-10+1
-9.

hope it helps you

QGP: No it is not. There is a "for" loop
Answered by Akanksha1710
2
-10
-9
-8
-7
-6
-5
-4
-3
-2
-1
0
HOPE THIS WILL HELP U ......

Akanksha1710: pls mark my answeras the brainliest
Anonymous: the answer is wrong
Akanksha1710: how can u say??
QGP: @Akanksha1710 's answer is correct. The code has a "for" loop.
Akanksha1710: thanks ...purva parmar
QGP: You are welcome :)
Similar questions