← Problem book: C
Lesson 81 of 96 · 10 XP
Function: square
Theory and problem statement
Machine translation, not yet reviewed by a native speaker.
Write a function square(x) that returns the square of a number. Read an integer and print its square using this function.
Example
Input:
4
Output:
16
Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.