Below is a C++ program that should print your name N times, where N is a number that is read in. However, it does not work as intended. Continue reading
Tag Archives: mistake
Can you spot the mistake – Part 4
Below is a C++ program that calculates the square of an integer. However, it does not output the expected result. Continue reading
Can you spot the mistake – Part 3
Below is a Python 3.4 program that is supposed to return the number of digits of an integer. However, it does not work correctly. Continue reading
Can you spot the mistake – Part 2
Below is a Python 3.4 program that we want to translate into C++ 4.9.2. However, there is a mistake in the translation. Can you spot it? Continue reading
Can you spot the mistake – Part 1
Below is a C++ program that compiles. However, it does not work as intended. Continue reading