Question
Asked by:
$20.00 java program
- From Computer-Science: Programming-Methods
- Closed, but you can still post tutorials
- Due on Mar. 21, 2009
- Asked on Mar 15, 2009 at 10:39:22PM
Q:Write an application that displays the following patterns separately, one below the other. Use for loops to generate the patterns. All asterisks(*) should be printed by a single statement of the form system.out.print (*); which causes the asterisks to print side by side. A statement of the form system.out.println(); can be used to move to the next line. A statement of the form system.out.print( ); can be used to display a space for the last patterns. There should be no other output statements in this program. [hint: the last two patterns require that each line begin with an appropriate number of blank spaces.]



