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 image processing - pointers class

Programming Assignment: Image Processing - Pointers, Class & Dynamic Data This project is called "Image Processing" which will shrink an input image, convert a color image to gray image , add random noise to an image, ad ...

Discussionwhile loops versus for loops please respond to

Discussion "While Loops versus For Loops" Please respond to the following: • Suppose you are writing a C++ program that plays a commercial video continuously within a kiosk at your favorite shopping mall within your home ...

Assignmentoverviewthis assignment consists of implementing

Assignment Overview This assignment consists of implementing an application using the techniques learned in the first half of the course. Examples on how to use file operations, random number generation, the standard tem ...

Programming assignment 5write a c program that allows the

PROGRAMMING ASSIGNMENT #5 Write a C program that allows the user to make some banking transactions. The program should first prompt the user to enter the current balance of his/her bank account (in dollars and cents, not ...

Object-oriented programming assignmentintroduction -nbspa

Object-Oriented Programming Assignment Introduction -  "A logical matrix or (0, 1) matrix is a matrix with entries from the Boolean domain B = {0, 1}. Such a matrix can be used to represent a binary relation between a pa ...

Practice with pointers and dynamic memory

Practice with pointers and dynamic memory allocation Problem: Write a C++ program that will implement and test the four functions described below that use pointers and dynamic memory allocation. The Functions: You will w ...

1 three employees in a company are up special pay increase

1. Three employees in a company are up special pay increase. You are given a file, with the following data: Miller Andrew 65789.87 5 Green Sheila 75892.56 6 Sethi Amit 74900.50 6.1 Each input line consists of an employee ...

Intro to programming in c assignmentsince this is the last

Intro to Programming in C Assignment Since this is the last assignment, there will be no late submission. All programs must be electronically submitted by 5:00pm on Tuesday, December 2nd with NO EXCEPTIONS in order to re ...

Assignmentbullwrite the code for each lab

Assignment • Write the code for each lab assignment. • Submit the lab in a single zip file in the online course shell. The lab must contain all .cpp files, along with any additional files that may be necessary for your p ...

Design implement test and debug a c program to simulate the

Design, implement, test, and debug a C# program to simulate the rolling of two dice 100 times. Whenever the two dice display the same number, the program should show the roll sequence number (e.g. the 10th roll) and the ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen