0

What is wrong with this program?

public class Program { public static void main(String[] args) { for (int yes = 8; yes <= 10; yes++ ) System.out.println("Wow"); } } }

27th Sep 2019, 10:18 PM
DevMoralist
1 Answer
+ 4
you have one extra curly bracket } , delete one and your code will work just fine.
27th Sep 2019, 10:22 PM
voja
voja - avatar