Coding II

| repl.it | w3schools.com | Site Stats
Game | Food Drink | Leave Room | Classroom Tardy | Backpack | Music Cell |
Coding I Schedule | Coding I LogIn | Coding I Archive | Coding I Resources |
Coding II Schedule | Coding II LogIn | Coding II Archive | Coding II Resources |
APP schedule | APP LogIn | APP Archive | APP Resources |
CSF schedule | CSF LogIn | CSF Archive | CSF Resources |

PE-06 Exam Averages

 

Write a program that computes the average of five exam scores.

1

 

 

 

 

 

 

updated: Tuesday, September 14, 2021 10:31 AM

Period 4 INFS Coding II

At    Ch     Co     Hu     Ke       Mr
Og     Pa     Ra     Wa    Ye   Zh    
Not listed 4th

Period 6 INFS Coding II

Bai     Bal     Ca     He     Hu    
Hy     Mo     Po     Re     St     Th       
Not listed 6th

Last Name :

Email :

Select one of the following that describes when and why you are filling out this form:
This assignment is being submitted before the due date.
This assignment is being submitted after the due date. (Not necessarily late)

 

1

Declare five variables and perform a compile-time initialization with the five values.
Follow variable naming conventions.
Use a constant to define the number of scores.
Follow constant naming conventions.
You can't take a half a test so the data type should be a whole number and not a decimal for the number of tests.
Print all scores with one digit to the right decimal.
Print the average value formatted with two digits to the right of the decimal.

Grading Considerations

Project Name : Exam Average
Declare and initialize
: 5 test scores to 95.3, 88.7, 73.5, 98.2, and 93.7
Declare one Constant : contains the number of tests.
Project Description : Enter appropriate description using input and output
IDOC(3)
EBC(3)
One constant is used.(5)
Descriptive Constant Identifiers following naming conventions. (5)
six variables are used.(6@5=30)
Descriptive variable Identifier following naming conventions. (5)
Test scores formated to one decimal place.(5@3=15)
Exam Average formated to two decimal places. (5)
Has identical output for first output.(5)
Sixth score is output on the modification.(5)
Second output has correct test average (5)

Total 86

1

Copy and paste code below that produces the output above.

Required Output (see above)

 

Make the following changes to your code, run it, and submit the output below.

1. Add a sixth test score of 37.3.
2. Change code in several places so the correct test average for the six grades is output.

Copy and paste the output below showing all 6 scores and the new average..

 

Updated: Thursday, September 9, 2021 8:17 AM

About Us | Contact Us | ©2005 brentwoodhigh.com