63 036
Assignments Done
Successfully Done
In July 2018

Answer to Question #74421 in C++ for Reagan

Question #74421
write a menudriven
program which makes use of the following types of loops as appropriate: while, dowhile,
for, for-each. You need to use each specific loop type at least once in the assignment.
Your program should present the user with the following options
• Option A: Your program must output the following sequence (the number of terms in
the sequence is given by the user): 2, 4, 4, 8, 6, 12, 8, 16, 10, 20, 12, 24, 14, 28, 16,
32, 18, 36, 20, 40, ...
• Option B: Your program must allow the user to specify all of the parameters for a
counting sequence by asking the user for the following:
◦ a starting value
◦ a stopping value
◦ a step value
Your program must then display the resulting sequence. For example if the user
enters 0 ,10, and 2 the sequence must be: 0 2 4 6 8 10
• Option C: Your program must count the number of alphabetic characters (both upper
and lower case) in a string input by the user.
• Option X: The program must exit
Expert's answer
Dear Reagan, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. 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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions