- Create a program to sum up numbers, given a maximum number (max). A screenshot is given below.
- If the user selects Odd, then the summation should be all the odd numbers from 1 to max.
- If the user selects Even, then the sum should be all the even numbers from 2 to max.
No comments:
Post a Comment