0
Run this program
public class Program { public static void main(String[] args) { int i; for(i=1;i<=10;i++) System.out.println("Hello Guys"); System.out.println("How are you"); } }
1 ответ
+ 2
It's working fine. Or if you want those both statements print every loop then add curly brackets { } around your "for loop" statements.
Here's your code with { }
https://code.sololearn.com/cZgvJy60Zuwj/?ref=app