-
Notifications
You must be signed in to change notification settings - Fork 220
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: Yandex-Practicum/Java-Module-Project
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
...
head repository: nsuhover/Java-Module-Project
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
- 2 commits
- 10 files changed
- 1 contributor
Commits on Dec 3, 2022
-
Написал программу для деления стоимости счета поровну между персонами.
Создан класс Calculator, который посчитывает общую введенную сумму товаров, делит её на равные части по количеству персон, а также определяет написание слов рубль и копейка в зависимости от введенной стоимости. Создан класс ItemsBasket, который включает все в себя всю корзину введенных товаров за время рабоыт программы.
Commits on Dec 6, 2022
-
- убраны лишние инициализации значениями; - в классе Calculator поиск последней цифры и двух цифр изменены на остаток деления от 100 и 10 соответственно; - сокращена логика определения окончания слова "рубль", убрана логика по определению копеек, т.к. не требовалось по ТЗ; - убран стандартный пустой конструктор ItemsBasket; - убрана инициализация статических методов из классов ItemsBasket и Calculator; - для обработки ошибок ввода пользователя заменена логика с try catch на hasNextInt и hasNextFloat;
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master