FOR LOOP 8

Task 8: Write a program to calculate the total of all odd numbers from 1 up to a given integer.
e.g User enters 20 Answer is 1+3+5+7+9+11+13+15+17+19 = 100

Scroll to Top