public class AmericanFlag { { public static void main ( ( String [ ] [ ] args
Fantastic news! We've Found the answer you've been seeking!
Question:
public class AmericanFlag {
public static void main(String[] args){
for(int i =1;i<=15;i++){
for(int j =1;j<=46;j++){
if(i<=9 && j<=12){
if(j%2==0){
System.out.print("");
}
else {
System.out.print("*");
}
}
else{
System.out.print("=");
}
}
System.out.println();
}
}
} explain this program
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: