Skip to content
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

Homego #6

Open
wants to merge 10 commits into
base: home
Choose a base branch
from
Open

Homego #6

wants to merge 10 commits into from

Conversation

Ilyasich
Copy link
Owner

add homework

Copy link

@goarchitecture goarchitecture left a comment

Choose a reason for hiding this comment

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

Оцениваю ДЗ2: отлично (есть комментарий на доработку по желанию)

ДЗ3 - пока нет


}

Choose a reason for hiding this comment

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

предыдущих ДЗ в ДЗ3 не должно быть

fmt.Println("Ошибка !!", err.Error())
os.Exit(1)
}
if len(numbers) == 3 {

Choose a reason for hiding this comment

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

хороший вариант, но попробуйте через число сделать :)

fmt.Println("Десятки: ", string(numbers[1]))
fmt.Println("Еденицы: ", string(numbers[2]))
} else {
fmt.Println("Ошибка!!! Введите трехзначное число")

Choose a reason for hiding this comment

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

эту ошибку лучше обработать выше

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.

2 participants