summaryrefslogtreecommitdiff
path: root/src/Q9
diff options
context:
space:
mode:
Diffstat (limited to 'src/Q9')
-rw-r--r--src/Q9/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Q9/README.md b/src/Q9/README.md
new file mode 100644
index 0000000..c835bc9
--- /dev/null
+++ b/src/Q9/README.md
@@ -0,0 +1,32 @@
+Learning Profile for Assignment #1, And Question #9
+
+Name: Mo Khan
+Student ID: 3431709
+
+1. Problem Statement:
+
+Write a program that iterates through numbers from 0 to 113 using a loop.
+Print the numbers, one number per line.
+As you print each number, say x, also print the following when appropriate, separated by commas:
+
+If the number is odd, print “x is odd”
+If the number is divisible by 5, print “hi five”
+If the total of a number (x) and its subsequent number (x+1) is a value divisible by 7, print “wow”
+If the number is prime, print “prime”.
+
+2. Description of the Code:
+
+[Briefly describe how you solved the problem in your code. You should include short description of classes, methods, and variables (if necessary) that you used in your code.]
+
+3. Errors and Warnings:
+
+[Please enlist your Errors and Warnings (maximum five) that you encountered in your code and how you solved them. An example of this is shown in Table 1.]
+Table 1: List of Errors and Warnings Encountered in the Program
+
+
+4. Sample Input and Output:
+[Provide some test cases with sample input and output of your program.]
+
+5. Discussion:
+
+[In this section, you may include some discussion about the debugging strategy that you used, e.g., searched the Web for a solution, contacted tutor, solved by self, used a debugging tool, posted in forum, talked to a friend, etc.]