0
For loop in java not working
A basic program in java using for loop not working https://code.sololearn.com/cyhji4Tu1joS/?ref=app
2 Answers
+ 7
SRIKANTH N remove ";" after the condition of for loop.
public class Program
{
public static void main(String[] args) {
for(int j=1;j<=10;j++)
{
System .out.println (j);
}
}
}
0
Tq guys i got it now
Tq all