GPA Calculation Program for Students Based on Final Grades
- Information Technology
- 4 pages
- Shared May 2025
Development of a GPA calculation tool using student academic records.
Preview 2 of 4 pages
See the first 2 pages exactly as they appear in the document.
Page 1 Read page 1 as text
GPA Calculation Program for Students Based on Final Grades ProgramDescription: We are making a program that would allow a user to enter student names and Final grades (e.g. A,B,C,D,F) from their courses. we do not know how many students need to be entered. we also do not know how many courses each of the students completed. I am Designing my program to calculate the Grade Point Average (GPA) for each student based on each of their final grades. The program is output the Student name along with the GPA. Analysis: We can make this program by simply calculating total score divide by total subjects Required Input: 1 .Every student detail should be in one line and each student name must end with semicolon(:) 2.Grade of student has to be specified after semicolon in any format. 3.after all calculation type hyphen( - ). That will work as end of data. Output: 1.output of every student will print in new line Variable names: 1. Char s[]: that will take the input string. 2. Char name[]: that will store the student name. 3. total: storing the total score of student. 4. totalsubjects: that will store the total subjects of student. Calculation and formulas: 1.to calculate total score : total+=’E’ - grade; 2.to calculate average: total/totalsubjects My program will run until s[0] is not equal to hyphen( - ). And we are using the gets function to take information of student that take full line as input so by this we can any number of subjects.
Page 2
2 more pages in the full document
Unlock it once and it stays in your library, ready to chat with or turn into flashcards.
Unlock the full documentMore Information Technology study materials
See all
Exam GuidesTest Bank for Managing and Using Information Systems: A Strategic Approach, 7th Edition (Chapters 1-13)
Information Technology
452 pages149downloadsFeb 2025
Exam GuidesTest Bank for Essentials of MIS, 12th Edition
Information Technology
342 pages146downloadsFeb 2025
Exam GuidesA+ Guide to Hardware, 9th Edition Test Bank
Information Technology
116 pages142downloadsFeb 2025
Textbook GuidesSolution Manual for Essentials of System Analysis and Design, 4th Edition
Information Technology
282 pages140downloadsFeb 2025
Textbook GuidesGuide To Networking Essentials, 7th Edition Solution Manual
Information Technology
48 pages139downloadsFeb 2025
Past Exams2023-2024 SOPHOS FIREWALL V19.5 Practice Exam with Answers (75 Solved Questions)
Information Technology
7 pages134downloadsFeb 2025
Class NotesLecture Notes for CCNP Enterprise: Core Networking (ENCOR) v8 Lab Manual, 2nd Edition
Information Technology
1089 pages123downloadsFeb 2025
Class NotesLecture Notes for Adobe XD Classroom in a Book (2020 release)
Information Technology
66 pages118downloadsFeb 2025
Study this document with CramX
Once it is in your library, every tool can work from it.

