-
Notifications
You must be signed in to change notification settings - Fork 0
ДЗ спринт 1 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
ДЗ спринт 1 #1
Conversation
|
Привет Павел! Ты молодец, создал свое первое приложение! А теперь непосредственно к ревью |
| double productCost = 0.0;// цена продукта | ||
| int persons = 2;// минимальное значение, чтобы метод работал | ||
| double finalResult = 0.2f;// заплатит каждый с округлением до 2х чисел после точки | ||
| void calculate() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Перед методом обычно оставляют пустую строку, чтобы логически их разделить
|
|
||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это все лишние пустые строки




Пару недель назад узнал что такое переменные, а теперь удалось создать свое первое консольное приложение. Это было не просто...