summaryrefslogtreecommitdiff
path: root/src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt')
-rw-r--r--src/app/Sait.Cmpp297.Assignment1.AsterikPatterns/Assignment.txt15
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