summaryrefslogtreecommitdiff
path: root/src/Q5
diff options
context:
space:
mode:
Diffstat (limited to 'src/Q5')
-rw-r--r--src/Q5/README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/Q5/README.md b/src/Q5/README.md
new file mode 100644
index 0000000..444a28f
--- /dev/null
+++ b/src/Q5/README.md
@@ -0,0 +1,37 @@
+Learning Profile for Assignment #1, And Question #5
+
+Name: Mo Khan
+Student ID: 3431709
+
+1. Problem Statement:
+
+Solve the following problem using a program:
+Suppose you save $100 each month into a savings account with an annual interest rate of 5%.
+Thus, the monthly interest rate is 0.05/12 = 0.00417.
+After the first month, the value in the account becomes 100 * (1 + 0.00417) = 100.417
+After the second month, the value in the account becomes (100 + 100.417) * (1 + 0.00417) = 201.252
+And after the third month, the value in the account becomes (100 + 201.252) * (1 + 0.00417) = 302.507
+... and so on.
+
+Write a program that randomly generates monthly savings amounts for the 15 runners in Problem 4.
+Each monthly saving should be in the range of $100 to $800.
+Extend the AddressBook class to store the monthly savings generated by the random number generator.
+Then, display the final account value for each of the 15 runners.
+
+
+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.]