Question: Question 2 Write a C program to read marks of N subjects and find Total, Average and Percentage marks. Your program should implement the following

 Question 2 Write a C program to read marks of N

Question 2 Write a C program to read marks of N subjects and find Total, Average and Percentage marks. Your program should implement the following functions getMarks0 this function will collect all the marks that are to be used in calculations calculat Average() this function calculates the average or mean of the marks a. b. Write a program in C to draw a circle on screen using graphics.h header file In this program, draw a circle on screen having centre at mid of the screen and radius of 80 pixels You may find the detailed descriptions of graphics functions below useful. Function Description initgraph It initializes the graphics system by loading the passed graphics driver then changing the system into graphics mode. getmaxx It returns the maximum X coordinate in current graphics mode and driver. getmaxz It returns the maximum Y coordinate in current graphics mode and driver uttextx It displays a string at a particular point (xx) on screen. It draws a circle with radius r and centre at (x, y). circle closegraph It unloads the graphics drivers and sets the screen back to text mode

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!