1nbspwrite a c program to compute and display a persons


1. 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.

2. Write a C++ program that accepts a character using the cin objectand determines whether the character is a lowercase letter. Alowercase letter is any character that is greater than or equal to'a' and less than or equal to 'z'. If the entered character is alowercase letter, display the mssage The character just entered isa lowercase letter. If the entered letter is not lowercase, displaythe message The character just entered is not a lowercase letter.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: 1nbspwrite a c program to compute and display a persons
Reference No:- TGS01478352

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)