Program in C: 100 >= A >= 90 90 > B >= 80 80 > C >= 70 70 > D >= 60 F < 60 Write a program that prompts the user to ente

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Program in C: 100 >= A >= 90 90 > B >= 80 80 > C >= 70 70 > D >= 60 F < 60 Write a program that prompts the user to ente

Post by answerhappygod »

Program in C:
100 >= A >= 90
90 > B >= 80
80 > C >= 70
70 > D >= 60
F < 60
Write a program that prompts the user to enter8 scores (Include input validation to ensurethat all values are within 0 to 100 inclusive.).
use a pointer to dynamically allocate an array to hold thescores,
calculate the final score based on the weights provided by thesyllabus. This value should be stored in a dynamically allocatedvariable using another pointer.
Determine final grade based on the weights provided by thesyllabus. Create a function that accepts the final numerical scorereturns the corresponding letter grade.
This function does not require apointer as a parameter.
Use an if else if statement withinthe function to determine the letter grade.
WEIGHTS:
6 HW - 35%
1 Test 1 - 30%
1 Test 2 - 35%
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply