You have been asked to write a computer program for a dog walking service. This business provides a unique service walking dogs. They charge $5.00 an hour for this service per dog walked. They take dogs on walks that can span several hours and many of their clients have more than one dog that will be walked. All dogs for a client are walked at the same time and the same duration. They want to be able to find out how much they need to charge the owner. They will be using this program all day long so they want to be asked if they have another customer after the previous customer's bill has been displayed.
Instead of using document.write to output we will be using the message box function. The function opens a small dialog box that opens and display an output. The syntax is msgbox("this is what is displayed")
Provide me with:
1. Assumptions:
2. Input
3. Calculations:
4. Output
Assumptions:
a. All dogs have the same walking fee
b. All dogs for a client are walked the same amount of hours
c. One client's fee will be calculated at a time
d. The fee is a constant $5.
Input:
a. Number of dogs
b. Hours walked
c. Is there another customer yes/no
Calculations:
a. Finalfee = number of dogs * hours walked * 5
Output: "You need to charge the owner" & FinalFee
Now you need to write the Human Algorithm (step by step how would you come up with the final output:
1. Ask for the number of dogs
2. Ask for how many hours they were walked
3. Final Fee = Number of dogs * Number of hours * 5
4. Tell them: "You need to charge the owner" & FinalFee
5. Ask if they have another customer, if so, return to 1. above
Now we need to flowchart this Human Algorithm. Remember each step is a different flowchart symbol. Don't combine steps.

<script language=vbscript>
Option Explicit '<-- This will not allow us to use a variable (place in memory)
in our code that doesn't exist in our DIM statement
Dim numdogs, numhours, walkingfee, anothercustomer
anothercustomer = "yes" '<---Set's initial value for the loop
Do While anothercustomer = "yes"
numdogs = inputbox("How many dogs did you walk?")
numhours = Inputbox("How many hours did you walk them")
WalkingFee = numdogs * numhours * 5
Msgbox("The charge for walking the does is $" & walkingfee)
anothercustomer = Inputbox("Do you have another customer? yes/no")
Loop ' <--- goes back to the Do While line
</script>
.