Flowcharts

media type="custom" key="29509907"

The Seldon Cooper "Making Friends" Flowchart media type="youtube" key="k0xgjUhEG3U" width="560" height="315"


 * Tasks**

Create a flowchart for the follow programs:

//**Program 1**// Forrester Coffee is a coffee shop that has a promotional scheme for regular customers. Customers can recieved a free coffee if they have bought 4 or more coffees.

Create a flowchart for a program that:

1. Asks the user for their name, 2. Asks the user for the amount of coffee's they have bought. 3 . If the user has more than 4 coffees then they recieve the message, "You get a free coffee!" 4. If they have bought less than 4 then they recieve the message, "Sorry you do not get a free coffee today."

//**Program 2**// The Forrester IT solutions teams has strict security access to their systems. In order to access their computers they must get their username and password right. Create a flowchart for a program that:

1. Asks for the users' username. 2. Asks for the users password. 3. Repeat until the username AND password is correct. 4. Display error message while it is not correct.

//**Program 3**// S3 pupils in the local high school are selling cakes at a charity sale. Each cake costs £2 and if they make over £500 then the school has agreed to double their total.

Create a flowchart for a program that:

1. Asks the user for the number of cupcakes sold. 2. Set the variable //**total**// to //**number_of_cupcakes * 2**// //3.// If total is more than 500 then user recieves the message, "Yes! The school will match your amount!" 4. If the total is less than 500 then the user recieves the message "Sorry not this time."