Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Determine the control structure(s) that should be used and express it in a pseudocode format. The syntax does not have to be exactly correct, but

Determine the control structure(s) that should be used and express it in a pseudocode format. The syntax does not have to be exactly correct, but it does have to be sufficient so that I can tell that you understand the concept.

Example - Test a value named Color. If Value is Red, print STOP, if value is Yellow, print SLOW, if value is Green, print GO! If (Color=Red) then Print STOP Else if (Color = Yellow) then Print SLOW Else Print Go! End if

Question:

Write the control structure to read in exactly 20 number values. If the number is even, add it to the variable ETotal. If the number is odd, add it to the variable OTotal.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7. How will you encourage her to report back on the findings?

Answered: 1 week ago

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago

Question

Explain Industrial market segment.

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago