wes d2a2ba9e15 first commit hace 4 años
..
README.md d2a2ba9e15 first commit hace 4 años
code.cpp d2a2ba9e15 first commit hace 4 años
unitTest.cpp d2a2ba9e15 first commit hace 4 años

README.md

Correct the Mistakes

by CppPythonDude tags: bugs, language_fundamentals

Summary

Fix the code in the code tab to pass this challenge (only syntax errors). Look at the examples below to get an idea of what the function should do. Examples squared(5) ➞ 25 squared(9) ➞ 81 squared(100) ➞ 10000 Notes READ EVERY WORD CAREFULLY, CHARACTER BY CHARACTER! Don't overthink this challenge; it's not supposed to be hard.

Instructions

Fix the code in the code tab to pass this challenge (only syntax errors). Look at the examples below to get an idea of what the function should do.

Examples

squared(5) ➞ 25

squared(9) ➞ 81

squared(100) ➞ 10000

Notes

  • READ EVERY WORD CAREFULLY, CHARACTER BY CHARACTER!
  • Don't overthink this challenge; it's not supposed to be hard.