top of page

More programming!!!

Writer: Amulya Malapaka
Amulya Malapaka
Jul 7, 2018
1 min read

Today, let's get a little more crazy. Let's DRAW! To celebrate the day of American independence(happy belated Fourth of July), let's print some statements in the shape of a flag. Your program should be a line of print statements that looks like this:


44444444

4 4

44444444

4

4


To go with this, here's some patriotic tea!


https://www.momdot.com/patriotic-tea-punch-recipe/


Now let's get some coding done!


 
 
 

Recent Posts

See All
Well it's been a while, huh.

Welcome back girls and boys, we're in for a fun ride :) As the end of the school year approaches us I'm sure we're excited for a summer...

 
 
 
THANKSGIVING!

IT'S THANKSGIVING!!! Want to know what I'm thankful for? I'm thankful for the beautiful weather we've been having.(Yes that was...

 
 
 

4 Comments


lubeck1089
lubeck1089
Oct 22, 2018

for(int e = 0; e < 5; e++)

Sytem.out.print("4");

System.out.println("E/n");

for(int e = 0; e < 3; e++)

Sytem.out.print("4");

System.out.println("E/n");

for(int e = 0; e < 5; e++)

Sytem.out.print("4");

Like

Manasi Mangalvedhe
Manasi Mangalvedhe
Sep 24, 2018

System.out.println ("44444444");

System.out.println ("4 4");

System.out.println ("44444444");

System.out.println ("4");

System.out.println ("4");

Like

Neil Palleti
Neil Palleti
Aug 03, 2018

System.out.println("44444444");

System.out.println("4 4");

System.out.println("44444444");

System.out.println("4");

System.out.println("4");

Like

Raj
Jul 26, 2018

in Java


public class Independence

{

public static void main(String [] args)

{

System.out.printf("44444444\n4%6s4\n44444444\n4\n4", "");

}

}

Like
bottom of page