代写C++代码 代做C++程序 C++辅导 C++教学

C++网络家教 远程写代码 在线Debug 讲解答疑 不是中介,本人直接写

微信: ittutor QQ: 14061936 Email: ittutor@qq.com

导航

You should be comfortable with the content in the modules up to and including the module "Interactivity" for this project.


For this project, you will create a program that calculates the number of available seats on the Airbus A380 airplane that has a maximum seating capacity of 555.  The program is intended for airline ticketing agents.  The agent should be prompted for the number of ticketed passengers and the number of employee complimentary passes that have been assigned.  The program should add together these two numbers and subtract them from the capacity, then display the total as the number of available seats in the airplane.


Read the Style Guide before beginning this project.


Minimum Requirements:


I will return your work and ask you to resubmit if the Required Comments from the style guide are missing.

Create a class and give it the name calculate. 5 points.

Create a function for the calculate class that will perform the calculation described above (use private class variables for this!). For an extra challenge, create more than one function for this: one function to take in the numbers and another to do the calculation. 5 points

Create a function to display the results of the calculation by displaying the contents of a private class variable that holds the calculation results. 5 points

Create a main function that will declare an object of the calculate class and use all of the functions of that class. Save the main function code in a separate .cpp file. Remember the #include line to include your class header file. 5 points

Note: There are many websites that will give you c++ code  (I am very familiar with many of them) and you are welcome to use them as examples, but you must use my calculate class, create and use private functions for this class and store your data in private class variables or you will lose significant points. Keep in mind that most example code on the Internet will not do this, so if you do borrow code, you will have to modify it to meet my requirements. Also, remember to document any websites you referenced in the attributionsection of your required comments!

LO&VE  14:56:40

http://www.santarosa.edu/~lmeade/style.html


相关推荐