Skip to content

Conversation

jadonyack
Copy link
Contributor

Can't have performance issues if the program doesn't accept problematic values!

welcome.cpp Outdated
std::cout << "Input your first favorite number: \n";
int inputNumber1, inputNumber2;
std::cin >> inputNumber1;
while(inputNumber1 > 25) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why 25 and not 22

magic number moment

welcome.cpp Outdated
}
std::cout << "Input your second favorite number: \n";
std::cin >> inputNumber2;
while(inputNumber2 > 25) {
Copy link
Contributor

Choose a reason for hiding this comment

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

see above

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