diff options
| author | mo khan <mo@mokhan.ca> | 2007-05-26 09:42:42 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2007-05-26 09:42:42 -0600 |
| commit | b060ece1ef89f9de95783d44aaa0250852952362 (patch) | |
| tree | 4f4f7c93514bb5b48ae763062274c5dcfecc8912 /src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt | |
import from svntrunk
Diffstat (limited to 'src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt')
| -rw-r--r-- | src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt b/src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt new file mode 100644 index 0000000..69d488a --- /dev/null +++ b/src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt @@ -0,0 +1,15 @@ +Page. 269
+6.15
+Write an application that displays the folowing 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 :
+ - Console.Write("*");
+ - which causes the asterisks to print side by side.
+- A statement of the form:
+ - Console.WriteLine();
+ - can be used to move to the next line.
+- A statement of the form :
+ - Console.Write( ' ' );
+ - can be used to display a space for the last two patterns.
+- There should be no other output statements in the application.
+[ hint: the last two patterns require that each line begin with an appropriate number of blank spaces. ]
\ No newline at end of file |
