// Type your code here, or load an example. int square(int num) { return num * num; }
// Type your code here, or load an example. pub fn square(num: i32) -> i32 { num * num }
// Type your code here, or load an example. // Your function name should start with a capital letter. package main func Square(x int) int { return x * x } func main() {}
// Type your code here, or load an example. int square(int num) { return num * num; }