Computer Science, asked by rajaaman909, 11 months ago

Define a class in c++ with following description:
Private members
• a data member flight number of type integer
• a data number destination of two strings
• a data no. Distance of type float
• a member function CALFUEL() to calculate the value of fuel as per the following
Criteria
Distance fuel
<=1000 500
More than 1000 & <=200 1100
More than 2000 2200
Public member
• a function FEEDINFO() to allow usrr to enter values for fight members
Destination distance and call function calfuel() to calculate the quantity of fuel
• a function SHOWINFO() to allow user to view the content of all the data members

Answers

Answered by heenakhan7989
0

Answer:

actually I didn't understoodyour question

Similar questions