C++ Programming

| June 24, 2015

2 projects needed done make them simple as to not seem advanced

Project 1

Write a program that uses a Do…While loop to ask the user to input 3 student first names. Use a For loop to input and average 5 scores for each student. Use a Function to find the ceiling and the floor of each average. The program should be in a format like this;

int main()
{
do
{
<code>
for loop
{
<code>
}
display
} while ()
}
double ceil()
{
<code>
}
double floor()
{
<code>
}

The screen output should look something like this;

Enter a student’s first name:
Mike
Enter 5 scores:
100
97
95
93
91
Total = 476
Average = 95.2
Ceiling = 100
Floor = 91

Enter a student’s first name:
Sam
Enter 5 scores:
90
97
95
93
91
Total = 466
Average = 93.2
Ceiling = 97
Floor = 90

Enter a student’s first name:
Frank
Enter 5 scores:
80
83
87
93
91
Total = 434
Average = 86.8
Ceiling = 93
Floor = 80

 

Get a 5 % discount on an order above $ 150
Use the following coupon code :
2020Discount
c++ programming
Information Technology and Systems for Healthcare

Category: Computer Science

Our Services:
Order a customized paper today!