pub fn square(x: i32) -> i32
Expand description

Returns Square value of the given number.

Example

let arg = 5;
let ans = my_crate::square(arg);
 
asswert_eq!(25, ans);