Function cube
Source pub fn cube(num: i32) -> i32
Expand description
A function that returns the cube of a number
§Examples
§Tests
let n = 5;
let answer = publishing::cube(n);
assert_eq!(answer, 125);
§Limitations
§Some other section
§Examples
use publishing::cube;
assert_eq!(cube(5), 125);