Question: #include FancyCar.h FancyCar::FancyCar ( ) { / * Type your code here * / } FancyCar::FancyCar ( string carMake, double carMpg ) { /

#include "FancyCar.h"
FancyCar::FancyCar(){
/* Type your code here */
}
FancyCar::FancyCar(string carMake, double carMpg){
/* Type your code here */
}
// Return car model
string FancyCar::GetModel(){
/* Type your code here */
return "";
}
// Return miles per gallon (MPG)
double FancyCar::GetMPG(){
/* Type your code here */
return 0.0;
}
// Return miles on odometer
int FancyCar::CheckOdometer(){
/* Type your code here */
return 0;
}
// Return amount of gas in tank
double FancyCar::CheckGasGauge(){
/* Type your code here */
return 0.0;
}
// Honk horn
void FancyCar::HonkHorn(){
/* Type your code here */
}
// Drive car requested miles but check for enough
// gas and check for positive value
void FancyCar::Drive(int milesToDrive){
/* Type your code here */
}
// Add gas to tank. Check for positive value.
void FancyCar::AddGas(double amtToAdd){
/* Type your code here */
}
// Set boolean variable to true
void FancyCar::StartEngine(){
/* Type your code here */
}
// Set boolean variable to false
void FancyCar::StopEngine(){
/* Type your code here */
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!