Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1: Calculate your grade (50 points) Write a C program to calculate student grades in this class. Your code must use a structure named

image text in transcribedimage text in transcribed

Problem 1: Calculate your grade (50 points) Write a C program to calculate student grades in this class. Your code must use a structure named studentinfo. The structure must have the following fields (at least) .Student Name : A character array for the student's name; 100 elements is fine. Zyante Assignments : An integer array of 3 Zybooks entries (only 3 to reduce the number of inputs) Homework Assignments : An integer array of 5 homework entries (only 5 to reduce the number of inputs) In Class.Participation: An integer, number of points earned for inclass participation. . Midterm An integer, points earned on exam 1 Midterm2 : An integer, points earned on exam 2. Final Project : An integer containing the points earned on the project. Grade Prent A float showing the percentage calculated. Letter.Grade: A char showing the letter grade. Your C program must 1. Prompt the user to enter in the ber of students in the class. 2. Dynamically allocate memory for the appropriate number of students. 3. Ask the user to enter information for each student . Student's Name . Student's scores for each Zyante participation, homework assignment, in-class participation, midterm, and final project 4. Calculate grade percent, and letter grade. 5. Ask the user which student's information should be displayed. 6. Display the information for that particular student 7. Repeat steps 5 and 6 until the user decides to quite. 8. Free any memory that was dynamically allocated For this homework you do not need to use linked lists. Using an array of type student info is perfectly acceptable. However your program must make use of the following functions e void Print_Student (student_info X); . void Scan_Student_Info (student info *S) To calculate the letter grade use the tables from the syllabus Grading Scheme Grade Weights Letter Grade Assignment Zyante Assignments 80 70 60%-69 gnments: 30 articipation 15 15 25 100% dterm 1 term 2 Final Project Total Problem 1: Calculate your grade (50 points) Write a C program to calculate student grades in this class. Your code must use a structure named studentinfo. The structure must have the following fields (at least) .Student Name : A character array for the student's name; 100 elements is fine. Zyante Assignments : An integer array of 3 Zybooks entries (only 3 to reduce the number of inputs) Homework Assignments : An integer array of 5 homework entries (only 5 to reduce the number of inputs) In Class.Participation: An integer, number of points earned for inclass participation. . Midterm An integer, points earned on exam 1 Midterm2 : An integer, points earned on exam 2. Final Project : An integer containing the points earned on the project. Grade Prent A float showing the percentage calculated. Letter.Grade: A char showing the letter grade. Your C program must 1. Prompt the user to enter in the ber of students in the class. 2. Dynamically allocate memory for the appropriate number of students. 3. Ask the user to enter information for each student . Student's Name . Student's scores for each Zyante participation, homework assignment, in-class participation, midterm, and final project 4. Calculate grade percent, and letter grade. 5. Ask the user which student's information should be displayed. 6. Display the information for that particular student 7. Repeat steps 5 and 6 until the user decides to quite. 8. Free any memory that was dynamically allocated For this homework you do not need to use linked lists. Using an array of type student info is perfectly acceptable. However your program must make use of the following functions e void Print_Student (student_info X); . void Scan_Student_Info (student info *S) To calculate the letter grade use the tables from the syllabus Grading Scheme Grade Weights Letter Grade Assignment Zyante Assignments 80 70 60%-69 gnments: 30 articipation 15 15 25 100% dterm 1 term 2 Final Project Total

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

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions