public class Java_Break_For_Loop {
	public static void main(String args[]) {
	
			String str = "matrix revolution";
				
				baadshah:
				for(int i = 0; i < str.length(); i++){
						System.out.println("*" + "  " + "*" + "!");
						for(int j = 0; j <= i; j++) {
						
							if(i == str.length() -  10) // from here the size of the output figure can be adjusted
							break baadshah;
							System.out.print("0");
						}			
				}
	
	}
}