About assignment of c++
In put
Each Student name
Each Student father name
Each Student id number
Number of students
Number of subject
Each subject
Each subject credit hours
Each subject grade
Then calculate GPA
Out put
Student name
Student father name
Student Id number
GPA
If grade is F the student is fail.
The program must be display if you ask one student information.
About assignment of c++
In put
Each Student name
Each Student father name
Each Student id number
Number of students
Number of subject
Each subject
Each subject credit hours
Each subject grade
Then calculate GPA
Out put
Student name
Student father name
Student Id number
GPA
If grade is F the student is fail.
The program must be display if you ask one student information.
write c++ programming input each student name each student father name each student id no each subject credit hour each subject grade then calculate gpa output student name
1. Write a program which calculate the employee meal allowance, medical allowance, house rent allowance and calculate the gross salary.
35% meal allowance.
10% medical allowance.
55% house rent allowance.
take 10 integer inputs from user and print the following:
01:postive number
02:negative number
03:odd numbers
04:even numbers all through arra
Create a C++ program that meets the following requirements:
1. It is necessary to read TotalUnits and ratePerUnit.
2. The computeTuition function will return the totalTuition based on the input parameters.There are two parameters: totalUnits and ratePerUnit.
3. Function computeFamilyDiscount – this function computes a 5% family discount.1. It is necessary to read TotalUnits and ratePerUnit.
2. The computeTuition function will return the totalTuition based on the input parameters.There are two parameters: totalUnits and ratePerUnit.
3. Function computeFamilyDiscount – this function computes a 5% family discount.a. Create a class called Rectangle with data members: width, length and area. The class should have functions to allow for setting of both length and width, calculate the area, and retrieve the width, length and area. (13 marks)
b. Write a main function that declares an object from the class above, and use the methods in that class to input the length and width, calculate the area and, retrieve and display those values (width, length and area).
A proposed system intends to store the student data (Student Number, Student Name and Phone Number) and also allow for the access of the same data. The data should be hidden and not prone to direct manipulation. The data is read and written using methods.
Required:
(i) Create a class called Student for the above scenario in C++ (6 marks)
(ii) Write a main function in the same C++ program to instantiate an object from the class Student, and allow for student data to be inputted though the keyboard and then display that student data.
Make a C ++ program that calculates the sum, mean of a series of numbers.
Example:
-Numbers: 10, 12, 10, 14
-The sum is 46,
-the mean is 11.5