Write a program to create a class HEIGHT with feet and inches as members. Write member
functions to READ, find the maximum height (MAX), find the minimum height (MIN) and
average height (AVG) for arrays of object.
Create a class called CarPark that has the members CarRegnno(int), ChargePerHour(int) and
ParkingDuration(float). Set the data and show the charges and parked hours of a car based on
CarRegnNo. Make two member functions for setting and showing the data. Member function should
be called from other functions.
Create a class called bMoney. It should store money amounts as long doubles. Use the function ms_to_ld() to convert a money string entered as input into a long double, and the function ld_to_ms() to convert the long double to a money string for display. You can call the input and output member functions getmoney() and putmoney(). overload the operators +,-,*,and / appropriately
Write a program that will accept an n integer from the user via the keyboard,
The dialog for this program should look as follows:
Enter number of integers to process: 3
Enter the integers: 7 20 17
Largest = 20
Smallest = 7
Median = 17
Do you want to try again? (y/n):
For this assignment, you are required to create a 2d dynamic array that stores the
following information about multiple books:
The book name
Its release year
The total number of ratings (total number of people that have rated the book)
The number of people that have given the book a 1-star rating
The number of people that have given the book a 2-star rating
The number of people that have given the book a 3-star rating
You are to write the following functions:
A function to create a 2D array according to user provided dimensions
A function to calculate the average rating.
Display function to display all the details of a selected book
A function to write the 2d array to a file called “BookLibrary.txt”.
A typical company has many cars for transportation of their employees. You have to design and implement a system to show live location of all company cars along with driver names. For a company based in Lahore, make a fleet of 10 cars of different make and models (honda city model 2006 x1, model 2011 x3, model 2020 x2, corolla model 2015 x2, model 2020 x2, and 6 drivers (name them of your choice), assign each driver to one of the 10 cars and move those cars to multan, islamabad, karachi, mardan, landi kotal, and sahiwal. Then show the status of all 10 cars on the screen.
1.City 2006 - Landi Kotal (3.232323445,1.2357823633) - Maqsood Ahmad
2.…...
Classes detail.
CAR
.make
.model
.engine
.tyre[4]
.seats
.driver
.SetDriver(Driver)
.Move(Location)
ENGINE
.valves
.hoursepower
.fueltype
.type
TYRE
.diameter
.width
.height
.type
DRIVER
.first_name
.last_name
.employee_code
.age
.gender
.salary
.AssignCar(CAR)
Location
.longitude
.latitude
.LonLatToPlace() returns city
Write a program to create a class HEIGHT with feet and inches as members. Write member
functions to READ, find the maximum height (MAX), find the mimimum height (MIN) and
average height (AVG) for arrays of object.
Write a program to create a class HEIGHT with feet and inches as members. Write member
functions to READ, find the maximum height (MAX), find the mimimum height (MIN) and
average height (AVG) for arrays of object.
Write a program to create a class HEIGHT with feet and inches as members. Write member
functions to READ, find the maximum height (MAX), find the minimum height (MIN) and
average height (AVG) for arrays of object.
Topic: Basics of C++ Programming Language "ARRAY IN C++"
Codes discussed will be posted here. Write your conclusion on the ARRAY discussion.
Filename: textin.txt
Code:
--->> https://drive.google.com/file/d/1sVXIXPMnZ_AeI83fwsfercflRJhwheSK/view?usp=sharing
*Note need proper codes and conclusion on how it's done and about the results. And please give the proper solution and explanation.
Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.
Note: Please place the proper conclusion and explanations and results of the codes which were given.
NOTE: The one who did Question #211797 did not do a job work in this question.
I need real coding for this problem with conclusions at the end of the answere