Question
Black Dot Printing is attempting to organize carpools to save energy. each input record contains an employees name and town of residence. Ten percent of
Black Dot Printing is attempting to organize carpools to save energy. each input record contains an employees name and town of residence. Ten percent of the companys employees live in Wonder Lake; 30 percent live in the adjacent town of Woodstock. Black Dot wants to encourage employees who live in either town to drive to work together. Design a flowchart and pseudocode for the following.
a. A program that accepts an employees data and displays it with a message that indicates whether the employee is a candidate for the carpool (because he lives in one of the two cities).
b. A program that continuously accepts employee data until a sentinel value is entered and displays a list of all employees who are carpool candidates. Make sure the decision-making process is as efficient as possible.
c. A program that continuously accepts employee data until a sentinel value is entered and displays a list of all employees who are ineligible to carpool because they did not live in either Wonder Lake or Woodstock. Make sure the decision-making process is as efficient as possible.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started