Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Design a software system University of Narowal campus for 2020 from which they calculate the

monthly

Fee structure of students of different departments.

Write a class Fee having the following attributes and behavior

 No.of Students

 Fee_per_Student

 Float fee

Pure virtual fun ctions:

 Monthly_fee()

 display()

Derived the following classes from the base class Fee:

 CS

 Chemistry

 BBA

Perform the functionality:-

 Calculate the monthly fee for every department.

 Show the results on the console using Display () function.

 Write destructor when you realize that this is the end of program.

 Use virtual destructor concept in the above hierarchy.

Note:

 Use virtual Member functions for derived classes.

 Use appropriate values for per number of students in departments.

 User appropriate data types.


Write a program to define four structures with structure variable of array types. Enter data into each structure variable that has four records and each record contains five fields.


Create a program for a library whose Main() method asks the user to input the number of books checked out and the number of days they are overdue. Pass those values to a method that calculates and displays the library fine, which is 20 cents per book per day for the first seven days a book is overdue, then 50 cents per book per day for each additional day.


Sport management system project inheritance in code


Write a C++ Program ,  Create a structure called Employee that includes employee ID (string), name of the employee (string), over-time fee (float) and the number of over-time hours during the weekdays (int array).write a function called getEmp( ) which is the data type of Employee that reads the details of Employee and store them in the variable of the Employee structure.Employee getEmp(Employee e);

  Write a function called calOTpayment( ) which takes three parameters, over-time fee of the employee, number of over-time hours in weekdays (5 days) array and the size of the array. Find the total payment for the employee and print the total Over-time fee for Weekdays. Call the getEmp( ) and calOTpayment( ) functions in the main function to print the following output as required.

Output 

​Enter Employee ID: MGK5678

​Enter the Name of the Employee : Roy

Enter the over- time Fee : 450

​Enter the number of OT Hours for day1:1



Write a C++ Program ,


·    Create a structure called Employee that includes employee ID (string), name of the employee (string), over-time fee (float) and the number of over-time hours during the weekdays (int array).


·    Write a function called getEmp( ) which is the data type of Employee that reads the details of Employee and store them in the variable of the Employee structure.


Employee getEmp(Employee e);


·    Write a function called calOTpayment( ) which takes three parameters, over-time fee of the employee, number of over-time hours in weekdays (5 days) array and the size of the array. Find the total payment for the employee and print the total Over-time fee for Weekdays.


·    Call the getEmp( ) and calOTpayment( ) functions in the main function to print the following output as required.


Write a class teacher that contains the attribute teacher name, age and address. It also contains member function to input and display its attribute. Write another class Author Write another class Writer that contains the attributes writer name, address and number of books written by him. It also contains member function to input and display its attributes. Write a third class Scholar that inherits both Teacher and Writer classes.


Sport Management project inheritance


Implement the following hierarchy.


· Make Shape, TwoDimensionalShape, and ThreeDimensionalShape as abstract class


· Add virtual functions of calculateArea() and perimeter() in TwoDimensionalShape.


· Implement the above functions in child classes Circle, Square , Triangle. Take help from Google to find the formulas.


· add virtual functions of calculateSurfaceArea() and calculateVolume() in ThreeDimensionalShape


Implement all functions in child classes Sphere, cube, and tetrahedron.


Write a C++ program to enter the record of a student and print on the display screen by using the multiple inheritance.


LATEST TUTORIALS
APPROVED BY CLIENTS