Question: 1. Write a program to sum integer values from 20 to 50. 2. Write a program to calculate the total number of days for the

1. Write a program to sum integer values from 20 to 50.

2. Write a program to calculate the total number of days for the years from 1950 to 2000.Remember that any year divisible by 4 is a leap year.

3. Write a program to calculate the total degree for each one of n students for the following subject: math, computer, physics, English.

4. Write a segment of C++ using for statement which accepts n real values entered by a user and outputs their average value. Assume n will be greater than zero.

5. Compute the weekly gross for a worker work all the days of the week where the gross calculated as follows:

In Sunday and Friday: gross = hour work x hour rate x 1.5

For all other days : gross = hour work x hour rate (Consider hour rate is constant).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!