Problem Statement
Write a function int square(int n) that returns the square of n.
DEMO-C-32 โข Programming in C
Write a function int square(int n) that returns the square of n.
A single integer.
The integer result.
Submit runs every public testcase in this browser. Results and code never leave this device.
5
25
-4
16
0
0
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question