Function practo::square

source ·
pub fn square(num: i32) -> i32
Expand description

Compute a square of an input number

Examples

Tests

let n = 5;
let answer = practo::square(n);
assert_eq!(25, answer);

Limitations

Some other section