Explore BrainMass
Share

Explore BrainMass

    Flowchart and Pseudocode

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Please answer the following questions regarding the attached flowchart:
    What does this flowchart do?
    What variables are used this module? What are their data types?
    What is the significance of the () after PrintLoop? What does this indicate?
    What looping structure is being used?
    What pseudocode would match this flowchart?

    © BrainMass Inc. brainmass.com October 10, 2019, 7:44 am ad1c9bdddf
    https://brainmass.com/computer-science/pseudocode/flowchart-pseudocode-592910

    Attachments

    Solution Preview

    1. What does this flowchart do?
    The flow chart is a computer programming asking the user to type in a number and adding the number to the counter when counter is equal or greater than the number. It uses a conditional loop in the statement Counter >= Anum?. If the counter is greater than the number pick, then you return the number. If the counter is less than the number, then you print the counter and add one to it. For example, if the user pick a number 2, but the counter is 1 meaning it is the first number pick. It will ...

    Solution Summary

    The attached flowchart is a computer program asking the user to type in a number and add the number to the counter when the counter is equal or greater than the number. It uses a conditional loop in the statement Counter >= Anum?. If the counter is greater than the number pick, then you return the number. If the counter is less than the number, then you print the counter and add one to it.

    $2.19