#include;usingnamespace std;class Airpla

#include;usingnamespace std;class Airplane;{ public;void setaltitude(double newaltitude);private;double altitude;//double speed;int main();Airplane myplane;myplane.setaltitude(1000);return 0;void Airplane::setaltitude(double newaltitude) //:: scope resolution //setter, mutator;altitude = newaltitude;return;//Write a class for an airplane class with constructors, interface (mutators and accessors);// and a test driver (main). It should be able to change altitude (up,down) and speed.;//The constructor will set the altitude to 0 and speed to zero and longitude and latitude;//to Boston, Massachusetts. The overloaded constructor will set longitude and latitude;//to some numbers. If the altutude ever falls below 0 the change altutude function should;//announce the plane had crashed and the program exit. Will be checked in class

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]
CategoriesUncategorized