Write a C++ program to compute and display a person's weekly salary as determined by the following expressions: If the number of hours worked is less than or equal to 40, the person receives $8.00 per hour; otherwise, the person receives$320.00, plus $12.00 for each hour worked over 40 hours. The program should request the hours worked as input and should display the salary as output. Write a C++ program that accepts a character using the can object and determines whether the character is a lowercase letter. The lowercase letter is any character that is greater than or equal to ‘a' and less than or equal to 'z'. If the entered character is a lowercase letter, display the message the character just entered Isa lowercase letter. If the entered letter is not lowercase, display the message the character just entered is not a lowercase letter.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |