online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import java.util.Scanner; public class Main { public static void main(String[] args) { int i; int j; Scanner scan=new Scanner(; System.out.println("Enter the number of rows: "); int rows=scan.nextInt(); //Takes input from the user for number of rows for(i=1;i<=rows;i++) { for(j=1;j<=i;j++) { System.out.print("*"); } System.out.println(); } } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.