Question
C Programming This is a grade calculator. A portion of the code is included in the nested loop document. It will need to be modified
C Programming
This is a grade calculator. A portion of the code is included in the nested loop document. It will need to be modified of course to include the grade variable and weight array variable. Also, change the marks array indices to 4 students and 5 marks so as to make it easier to input the info. I've attached the flowchart to this blackboard item.
The weight array should be described as follows: weight[] = {1, 1, 0.8333, 0.75, 0.6667}
The output should look like:
Student #1's final mark is 74.62%
Student #2's final mark is 68.46%
Student #3's ...
Remember, there will be 4 students and the flowchart is your guide to writing the code.
START IS no yes IS no END yes IS no grade-0 yes nput marks[jl[i] IS no /output grade yes grade- grade+ weight[i]x marks[jl[iStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started