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

Create the class Employee with the following attributes: Emp ID, Name, Designation, Project ID and

Phone Number. Print the Current details of the employee. Add a behaviour to modify the projectID.

And display the updated employee details.


Create a class Distance consists of 2 integer data members as feet and inch. Define a add() method

to add 2 Distance objects which are passed as arguments. Another add() method passed with single

Distance object to add the invoked object with the passed object. Write a getInput() method to

receive the input from user and check the input, if the user gives negative input or inch value greater

than 11 show the error message and ask the user to enter it again. In main, show the result of adding

2 distance object by calling both add functions.


Create a class for Student with the following attributes: Student ID, Name, CourseID, Gender {male/female} and Phone Number. (Use enumeration data type for Gender) Add constructors to initialize data members. Print the Current details of the Student. Add a behaviour to modify the phone number and display the updated details.


Create an Account class (acctNumber, acctName, branch, balance). Write constructors – default

constructor, constructor(acctNumber). Create an object of Account using constructor(acctNumber)

assign the other values using separate functions of each property. Display account number and

balance in the main.


Create a class Customer with properties – customerid (integer), name, age, phone. Add necessary

constructors to initialize the data members. Create an object of Customer and initialize the data using

parametrized constructor. Print the customer object data in the main class.


Create a class Book that contains instance variables like BKName, BKId and BKAuthor, a

parameterized constructor to initialize its instance variables, a method BKUpdateDetails(String name,

int id, String author), that accepts new values for name, Id and author as parameters and updates

the corresponding instance variable values of that object and another method BKDisplay() to display

the book details. Create a class BookDemo and provide main method for instantiate a Book object,

display the original book details, update its details with new values, and display the updated book

details


Create a generic function max that gives the maximum value of three generic type arguments that are passed to it. Then test this function by calling it with char, int, and float type.


write a c++ program that calls for n values from a user and return the greatest among them


how to add a behaviour to modify details and display them in c++


Suppose you work for an employer that sells vehicles and your employer instructs you to
design a program using the C++ language to determine the car that corresponds to the price
that your program calculated. The price of the car is determined by adding three(3) prices:
which are engine price, colour price and the price based on the colour of the car.
The engine price ranges between R500 000 – R2000000-00
The colour of the car ranges between R7000 – R10000
The price based on the power of the car ranges between R300 000 – R600 000
 If the sum of the three(3) prices is between R700 000 – R1000000, the program must
display that the car is in the range of a VW Golf 8 GTI
 If the sum of the three(3) prices is between R1100000-1800000, the program must
display that the car is in the range of a Mercedes Benz GLC63s
 If the sum of the three(3) prices is between R1900 000 – R2500000, the program
must display that the car is in a range of a BMW M8 challenger
D. DRAW A Flowchart for the program
LATEST TUTORIALS
APPROVED BY CLIENTS