Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

Aim:

The aim of this assignment is to provide experience of:

Basic concepts of C/C++ language and Programming

• Dealing with Data types
• Conditional statements of C/C++ language
• Loops
• Saving a program
• Compiling a program
• Executing the program

Guidelines:

• Code must be properly indented and well commented.
• Follow C/C++ rules while writing variable names, function names etc
• Use only dev-C++ for this assignment.

Problem Statement:     

You are needed to prepare a program for Assessment system of a University.  The basic idea is to compute the GPA (Grade Point Average) of each subject and then find out the GPA of whole semester and on the basis of that GPA compute the grade and remarks.

Detailed Description:

You are needed to take the student’s marks for three subjects(English, Calculus, and Computer) as input from the user. After this compute the GPA of each subject and the whole semester. Suppose that total marks of a subject are 100 and each subject is of 3 credit hours.
Complete Assessment system is given below:

Grade        GPA       Marks Obtained    Remarks

A              4.00        100 %              Excellent
B           3.00-3.99    75-99 %            Good
C           2.00-2.99    50-75 %        Satisfactory
D           1.6-1.99    40-49 %              Pass
F            0.00       Below 40 %             Fail

• GPA for a subject = (obtained marks / 100) * 4 where 100 is the total marks of a subject.

NOTE: If user enters less than 40 marks for a subject, the GPA of that subject should be 0.

• GPA of whole semester = multiply each grade point you receive by the number of credit hours for that course, add up the totals, and then divide by the total number of credit hours taken in that semester.

For ex assume the GPA in subject A is 2.5, in subject B  2.6, and in subject C is 3. Assuming that each subject is of 3 credit hours then GPA of whole semester would be computed as:
                                             =  3 * ( 2.5 + 2.6 + 3 ) / 9
                                             = 2.7

• On the basis of Semester GPA, you have to give grade and remarks to the student

• If a student has less than 40 marks in a subject, a message should display that “you have to repeat this subject “.

• After displaying the GPA, grade and remarks, the program must ask the user if he/she wants to do this task again. The user would be given two options (yes / no). If user enters “Y or y”, the program would start comp0uting the GPA, grade and remarks again. If user selects “N or n”, the program would terminate.

• If user enters Y or y as choice, the screen should be cleared before starting the whole process again. For this purpose you could use system(“cls”) function by including  header file in the program.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M91987

Have any Question? 


Related Questions in C/C++

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

Write a program that calculates mileage reimbursement for a

Write a program that calculates mileage reimbursement for a salesperson at a rate of $0.35 per mile. Your program should interact with the user in this manner: MILEAGE REIMBURSEMENT CALCULATOR Enter beginning odometer re ...

Problem 1overview for problem 1a of this assignment you

Problem #1 Overview: For problem 1(a) of this assignment, you will need a C++ compiler. In order to receive credit, your program must compile and run; and you must provide the actual source code file so that I can compil ...

Please use codeblockslist the program and the output on the

Please use codeblocks List the program and the output on the command line Eg #include #include using namespace std; int main() { floatjohno = 0.5; size_t size = 24; vector array(size); for(inti=0; i     { johno = johno + ...

Write code to create the generator submit your source code

Write code to create the generator. Submit your source code as well as a description of how I could run the program, sample screenshots of the program in action, and the various changes that could be produced through you ...

Discussion questionsplease respond to all of the following

Discussion Questions Please respond to all of the following prompts: • What is a friend function and how is it declared? • Which operators cannot be overloaded and why? • What is a macro in C++ programming and what are s ...

Computer programming assignment-q1 using for loop write a c

Computer Programming Assignment- Q1. Using for loop, write a C++ program that prints out the multiples of 3 up through 75, separated by a blank space.  3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 ...

Ipo chartinputprocessingoutputmarks for four

IPO Chart Input Processing Output Marks for four courses Processing Item: Grade Point and Grade for individual course Overall GPA Algoritham Initialize gp with zero Repeat  for (each course)                 Enter the mar ...

C program codeoverviewfor this assignment write a program

C++ program code Overview For this assignment, write a program that will simulate a single game of Craps. Craps is a game of chance where a player (the shooter) will roll 2 six-sided dice. The sum of the die will determi ...

Programwriteacprogramthatwillasktheuserforthenameofaninputfi

Program Write a C++ program that will: Ask the user for the name of an input file. Read in this name and open that text file for input. Ask the user which of two options they want to do: Read in student data Count lines ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate