diff options
| author | mokha <mokha@cisco.com> | 2019-05-08 19:20:31 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2019-05-08 19:20:31 -0600 |
| commit | 45cc3ed51321f3a735ceed7e3394ee3e6ab16af1 (patch) | |
| tree | cee4e78bc52a57e51a448ac237c372397ca38f46 /src/Q9 | |
| parent | 24f849e76ac46ef2a08c3904cecb195e4f7f85af (diff) | |
start program profile for each question
Diffstat (limited to 'src/Q9')
| -rw-r--r-- | src/Q9/README.md | 32 |
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.] |
