Calculate and display the marks and grade for each student, C/C++ Programming

Assignment Help:

In this assignment you are required to develop a program that allows the creation, viewing and storage of information about ITECH7603 Students. In order to complete the task you have to investigate how to use the following STL(Standard Template Library) containers - vector, set, and map.

The information about ITECH7603 students consists of: first name, surname, and marks for Lab Test, Assignment1, Assignment2, and Final Exam. This informat ion should be stored in the binary file "ITECH7603Students.bin". The program should also calculate and display the marks and grade for each student.

The following describes how to calculate the marks and grade:

Lab Test Mark - is an integer from 0 to 10;

Assignment1 Mark - is an integer from 0 to 20;

Assignment2 Mark - is an integer from 0 to 20;

Final exam Mark - is an integer from 0 to 50;

A total mark is a sum of the previous four marks, so it is an integer from 0 to 100.

A student passes the course if and only if

(Assignment1 Mark + Assignment2 Mark) >= 20 and (Lab Test Mark + Final Exam Mark) >= 30

There are 5 grades, which are calculated according to the following rules:

F - if the Total Mark is less then 40;

MF - if (40 <= Total Mark < 50) or (Total Mark >= 50 but student didn't pass);

P - if (50 <= Total Mark < 60) and student passed;

C - if (60 <= Total Mark < 70) and student passed;

D - if (70 <= Total Mark < 80) and student passed;

HD - if Total Mark >= 80;


Related Discussions:- Calculate and display the marks and grade for each student

Draw a circle in c program , Draw a circle in c program: void main() ...

Draw a circle in c program: void main() { clrscr(); int i,r=50,t,j,x,y; int gd,gm; gd =DETECT; initgraph(&gd,&gm,""); for(x=50;x for(y=50;y {   i

Pointers, In this sub-task will you implement three functions for the final...

In this sub-task will you implement three functions for the final three function prototypes that will do exactly the same as the three functions that you have just written. This ti

Reverse digit function, how can i write reverse digit function like writing...

how can i write reverse digit function like writing 1234 and printing 4321

Copy constructor, What is copy constructor? describe the concept of copy co...

What is copy constructor? describe the concept of copy constructor.

Create program to prints out the value of a variable, Here is a short progr...

Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will p

2, how to do 2, 4, 8 associativity

how to do 2, 4, 8 associativity

Explain about the integer constants in c language, Explain about the Intege...

Explain about the Integer constants in c language? An integer constant is the integer valued number and it refers to a sequence of digits. A decimal integer constant includes o

C program to convert number to binary, Write a program in C that you will n...

Write a program in C that you will name "divide.exe", to divide one 32-bit twos-complement binary number by another, giving the quotient and the remainder, using the subtract-shift

Program, Byteland county is very famous for luminous jewels. Luminous jewel...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd