Adjust the odometer and the fuel tank for miles driven
What will be an ideal response?
```
void Auto :: drive(int miles)
{
odometer += miles; // increase odometer
fueltank.decrease(miles / mpg); // decrease current fuel level
}
```
Computer Science & Information Technology
You might also like to view...
Which command could a technician use to apply a group policy?
A) update B) gpupdate C) convert D) regedit
Computer Science & Information Technology
Explain how you can use a router to protect your computer from intrusions.
What will be an ideal response?
Computer Science & Information Technology