Skip to content

Create class Car.md#10

Open
dankossss wants to merge 1 commit into
oleksandr-kazimirov:masterfrom
dankossss:master
Open

Create class Car.md#10
dankossss wants to merge 1 commit into
oleksandr-kazimirov:masterfrom
dankossss:master

Conversation

@dankossss
Copy link
Copy Markdown

No description provided.

Comment thread car/src/Car.java
void drive(int km) {

double fuelSpent = expense / 100 * km; //Витрата пального на подолання заданої в методі дистанції
if (fuelVolume == 0) System.out.println("Вибачте, але у вас порожній бак, заправте будь-ласка ваше авто :)");
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if{
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants