blackboxx's Assignment:
My assignment should show skill, using loops, functions, arrays/pointers, and class struct, to a degree. Knowing me, I like applications, that can calculate specific things, so my assignment will be to make a calculator. This calculator should allow the user to be able to find the sum, difference, product, and quotient of numbers. An easy approach would've been to ask the user to input just two numbers, and operate on those two only. However, as a programmer, you want the user to have flexibility with how they use the program, instead of limitations, so the user will be prompted, how many numbers they want to input, to be operated.
For instance:
1 + 78.4 + 88.44545 + 4435345.545
OR
45.9 * 34.4 * 4345.55
- The user should be able to input how many numbers they want to input into the program, to be added, subtracted, multiplied, divided, or all.
- The user should be prompted with choices: Add, Subtract, Multiply, Divide, All, Exit.
- There should be exception handling in your program, to prevent logical errors, and run-time errors.
- You should use a class structure, or class structures, to make this program, since we want to take an object oriented approach.