Draw the flowchart and write the pseudocode for a program that counts two variables: the number of left-handed people and the number of right-handed people in a class. The loop should execute until the user enters the character X instead of L for left-handed or R for right-handed. Input: - Enter the dexterity. Process: - Count how many are left-handed. - Count how many are right-handed. - Repeat the process until the user enters X to terminate the loop. Output: - Total number of people who are left-handed. - Total number of people who are right-handed. Notes: - Do not use any programming language syntax unless when there is an exception. - Use mainline logic configuration modules: houseKeeping(), detailLoop(), and endOfJob(). - Use the space provided below for your flowchart and pseudocode. - Do not forget to complete the essay at the end of the questionnaire
Draw the flowchart and write the pseudocode for a program that counts two variables: the number of left-handed people and the number of right-handed people in a class. The loop should execute until the user enters the character X instead of L for left-handed or R for right-handed.
Input:
- Enter the dexterity.
Process:
- Count how many are left-handed.
- Count how many are right-handed.
- Repeat the process until the user enters X to terminate the loop.
Output:
- Total number of people who are left-handed.
- Total number of people who are right-handed.
Notes:
- Do not use any
- Use mainline logic configuration modules: houseKeeping(), detailLoop(), and endOfJob().
- Use the space provided below for your flowchart and pseudocode.
- Do not forget to complete the essay at the end of the questionnaire.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images