Write a menu to do following jobs
1. Call the function 1
2. Call the function 2
3. Exit
Funtion 1: calculate the sum: 1 – 1/2 + 1/3 – 1/4 + … +/- 1/n
where 1/n > small positive number
Function 2: generate an array containing n random numbers between min and max
Try to learn more without class …
New contributor
user25502570 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.