Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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[i

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Building The Data Lakehouse

Authors: Bill Inmon ,Mary Levins ,Ranjeet Srivastava

1st Edition

1634629663, 978-1634629669

More Books

Students also viewed these Databases questions