Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/pay-rate-c/
- Write a program that prompts a user for an hourly pay rate. The program should justify the following conditions:
- If the user enters values less than $5.65 or greater than $49.99, prompt the user to enter the value again.
- If the user enters an invalid value in the second attempt, display an appropriate error message.
- If the user enters a valid value on either the first or second attempt, display the valid pay rate.
- Save the program as EnsureValidPayRate.es.
- Download: http://solutionzip.com/downloads/pay-rate-c/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement