test drive function (and decrease function)

What will be an ideal response?


```
car1.drive(95);
cout << endl << "Car 1 was driven 95 miles:" << endl << car1 << endl;

car2.drive(20);
cout << endl << "Car 2 was driven 20 miles:" << endl << car2 << endl;

```

Computer Science & Information Technology

You might also like to view...

Select all that apply. Any method that calls a method with a throws clause in its header must __________.

a. handle the potential exception b. have the same throws clause c. do nothing since the called program will take care of the throws clause d. contain only string variables

Computer Science & Information Technology

Word provides both a(n) ________ and horizontal ruler

Fill in the blank(s) with correct word

Computer Science & Information Technology

Pictures are usually rectangular in shape

Indicate whether the statement is true or false

Computer Science & Information Technology

A site without graphics or that is difficult to navigate will likely hold a visitor's attention.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology