Function cube

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

Computes a cube of an input number

§Examples

§Tests

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

§limitations

§Some other section