Function cube

Source
pub fn cube(num: i32) -> i32
Expand description

Compute a cube of an input number

§Examples

§Tests

let n = 5;
let answer = practo::cube(n);
assert_eq!(125, answer);

§Limitations

§Some other section