Question: use Excel or a word processing document to plan your program calculate the output of your program before writing code use the float data type

use Excel or a word processing document to plan your program

calculate the output of your program before writing code

use the float data type

display a % symbol in the output

Tasks (Option 1):

Plan your program by using Excel or another file to calculate what your overall course grade is based on the information below. You can use hypothetical values for each of the grades.

Submission Quantity % of Grade
Assignments 12 50%
Quizzes 6 10%
Tests 4 40%

Write a program that asks the user to enter numeric grades for 12 assignments, 6 quizzes, and 4 tests. Calculate the overall course grade based either on dividing by the total points for the class or by using the percentages above. The result should be displayed to 2 decimal places and shown with a %.

Tasks (Option 2):

Plan your program by using Excel or another file to calculate what your overall course grade is based on the information in the syllabus. You can use hypothetical values for each of the grades. You should be able to use the calculations to track your progress on your course grade, and, if necessary, use it to calculate what you will need for a grade on the final assignment and last test to earn or maintain an A for the course.

Submission Quantity Points per Submission Total Points % of Grade
Assignments 12 25 300 46%
Quizzes 11 10 110 17%
Tests 3 65 195 30%
DSU Tech Tests 1 45 45 7%
Total 650 100%

Write a program that asks the user to enter numeric grades for 12 assignments, 11 quizzes, 3 tests, and the DSU Tech Exam. Calculate the overall course grade by dividing by the total points for the class or by using the percentages above. The result should be displayed to 2 decimal places and shown with a %.

Follow these steps for Lab 4:

Before writing code, be sure to create the file described above that can be used to calculate your grade. Name the file YourLastNameLab4Calculations. Include scores and a calculation of a final grade that you can use to check if your program produces the correct result.

Create a new file named YourLastNameLab4.c.

Include a detailed set of comments at the top of the program that describes exactly how the overall grade will be calculated. You can either use percentages or add up all total points and divide by the total points (then you may have to multiply that by 100 to show it as a percentage).

Declare descriptively named variables to store the scores entered by the user.

Use a prompt and input for each grade item. You can use either integer or float values.

To accurately perform the calculations, be sure to cast the formulas as float values or divide by float values (shown in Chapter 3 examples and the video example that closely matches this).

Be sure to include a blank line between the inputs and the results. Do your best to make it neat. Use the tab character to align all inputs as shown below.

The overall grade should be shown with two digits of precision, and should include a % after the numeric value (hint: use %%).

Take a screen clipping of the program that shows input and output that matches the calculations in your test calculation file, and paste the image in a Word document namedYourLastNameLab4.

Upload and submit the completed YourLastNameLab4.c file, the YourLastNameLab4Calculations file, AND the YourLastNameLab4 Word file to the appropriate Desire2Learn Dropbox folder.

Example - Task 1 using Percentages:

Enter the score for Assignment 1: 88 Enter the score for Assignment 2: 92 Enter the score for Assignment 3: 100 Enter the score for Assignment 4: 100 Enter the score for Assignment 5: 88 Enter the score for Assignment 6: 84 Enter the score for Assignment 7: 86 Enter the score for Assignment 8: 72 Enter the score for Assignment 9: 86 Enter the score for Assignment 10: 92 Enter the score for Assignment 11: 80 Enter the score for Assignment 12: 90 Enter the score for Quiz 1: 100 Enter the score for Quiz 2: 90 Enter the score for Quiz 3: 80 Enter the score for Quiz 4: 100 Enter the score for Quiz 5: 70 Enter the score for Quiz 6: 90 Enter the score for Test 1: 90 Enter the score for Test 2: 88 Enter the score for Test 3: 90 Enter the score for Test 4: 62 The overall course grade is: 85.92% 

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!