0
Write a menu driven program to display:
a) natural number from 1 to n b) natural number In reverse from n to 1 c) even numbers from 1 to n d) odd numbers from 1 to n e) sum of number from 1 to n f) sum of even numbers between 1 to n g) sum of odd numbers between 1 to n. n is input from user
2 Réponses
+ 5
Homework? Why?
Please try it yourself first and let us know if you face a problem. We'll be happy to help then...
+ 2
https://code.sololearn.com/c3WB8QG60YXS/?ref=app
Just for before bed time