fill the tank and return gallons needed
What will be an ideal response?
```
double Tank :: fillUp()
{
double needed = capacity - current;
current = capacity;
return needed;
}
```
You might also like to view...
After line 9 runs, what are the items in the vector?
```
1 vector
What is the value of num after the following statement is performed?
``` num = Math.round( 2.45 ); ``` a) 0 b) 2 c) 2.5 d) 3
Define plagiarism
What will be an ideal response?
Generally, an index is inserted on a separate page at the end of a document
Indicate whether the statement is true or false