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

14th Sep 2017, 2:14 PM
shveta patel
shveta patel - avatar
2 ответов
+ 5
Homework? Why? Please try it yourself first and let us know if you face a problem. We'll be happy to help then...
14th Sep 2017, 2:55 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
14th Sep 2017, 3:46 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar