Answer to Question #32563 in C++ for zahida

Question #32563
define a class TravelPlan in c++ with the following description :
private member:
plancode of type long
place of typr character array (string)
number_of_travellers of type integer
number_of_buses of type integer
public member:
a constructor to assign initial values of plancode as 1001,place as "agra" , number_of_travellers as 5,number_of_buses as1
a function Newplan() which allows user to enter plancode,place and numer_of_travellers.also,assign the values of number_of_buses as per the following condition :
number_of_travellers number_of_buses
less than 20 1
equal to or more 2
than 20 and less
than 40
equal to 40 or 3
more than 40
all functions Showplan() to display the content of all the data members on screen
1
Expert's answer
2013-06-28T05:04:42-0400
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS