Commit 6f6b3dbf authored by Karine's avatar Karine

Exercise_06_21, Version2

parent 6e9bd3db
......@@ -19,7 +19,7 @@ main()
std::cout << "Enter a number to check: ";
std::cin >> number;
bool result = isEven(number);
const bool result = isEven(number);
if (result) {
std::cout << number << "is even." << std::endl;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment