View the step-by-step solution to:

A FLOWCHART and a PSEUDOCODE for each problem.

A FLOWCHART and a PSEUDOCODE for each problem.


Use the information below to develop a pseudocode (which can be a text-based description for solving the problems) and a flowchart (using flowchart symbols to illustrate how you would program) to solve each problem. You may use Microsoft Word® for your pseudocode and Microsoft PowerPoint® for your flowchart. 

1.   Problem 1: Develop a program that will calculate the problem and stop after the condition has been met. This is an IF/THEN/ELSE problem.


a=1

b=a+1

c=a+b


Condition: If c is less than 5, then the loop will continue; else, it will end.

a will increase by one after every completed loop.

2.  How many loops will be necessary to meet the condition incrementing 'c' by 1? Why?


I just need the pseudocode and answer to number 2


Thanks

Top Answer

1. Pseudocode is as follows: DECLARATIONS: a = 1 b = a + 1 c = a + b WHILE 1 = 1: IF... View the full answer

flowchart.PNG

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online