cc++

Pseudocode and flowchart Questions

A programmer writes a program to weigh baskets of fruit in grams, keeping a total of the weight and counting the number of baskets. The total weight is stored in a variable Total and the number of baskets is stored in a variable BasketCount. Explain, including examples of programming statements, how totalling and counting could be used in this program.
if statement image

Four pseudocode descriptions and five pseudocode statements are shown. Draw one line to
link each pseudocode description to the correct pseudocode statement. Not all pseudocode
statements will be used.

PseudocodeSnippet
Shares:

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.