Answer to Question #301165 in UNIX/Linux Programming for Sunitha

Question #301165

Question 1: Write a menu driven shell script which accepts a number N and an option to calculate the average of: 

first ‘N’ odd numbers

first ‘N’ even numbers

Sample Input and Output:

Enter a number : 

5

Menu 

Even : E

Odd: O

Enter E or O: 

E

The sum of even number is : 6


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS