BACK

Lab 3c COIN 70a

INSTRUCTIONS

Part C More Practice (5 points)
You have 2 children. Set up a program that will find out the names and ages of the kids and then
calculate the children's allowances based on $1.00 per year old.
Write each child's name, age and allowance to the page.

Pseudo-Code

Calculation of Child's Allowance based on Child's Age Times $1/Year

STEPS to FOLLOW:
Find out name of child #1(childName1).
Find out age of child #1 (childAge1).
Find out name of child #2 (childName2).
Find out age of child #2 (childAge2).
Set allowance ratio (allowance = eval(1.00 * child's age))
Calculate allowance of child #1 (childAllowance1).
Calculate allowance of child #2 (childallowance2).
Print name of child #1.
Print age of child #1.
Pring allowance of child #1.
Print name of child #2.
Print age of child #2.
Print allowance of child #2.