- To demonstrate your understanding of objects
- To demonstrate your understanding of operators
- To demonstrate your understanding of user input
- To demonstrate your understanding of functions
Write a program that asks the user for a number n and gives him the possibility to choose between computing the sum and computing the product of 1,…,n
No Unit Test
- Get input from user for number n and choice of Sum or Product
- Create separate functions for Sum and Product
- Compute for Sum/Product
- Print final output to screen