Penny or Nickel Challenge MUST USE A LOOP
Application finds the amount of your monthly pay if you are paid a penny or nickel for the first workday and the pay is doubled each subsequent workday. New employees are paid a penny for the first workday and experienced employees are paid a nickel for the first day.
The user enters the number of workdays in a monthly pay period and the pay for the first day. The program calculates and displays the amount of pay for the pay period.
The user enters the number off days in the pay period.
The user selects a RadioButton object to indicate the pay amount for the first day; a penny or a nickel.
After the user enters the number of days and pay for the first day, the total amount earned is calculated and displayed.
Restrictions:
Nonnumeric values should not be accepted
Negative values should not be accepted
The minimum number of work days in the pay period is 10 days. The maximum number of workdays in a pay period is 22 days.

Solved
Show answers

Ask an AI advisor a question