Go Program to Calculate Cube of a Number

This go program to calculate the cube of a number, we used arithmetic operator (multiplication) to find the cube. package main import “fmt” func main() { var num int fmt.Print(“Enter the Number to find Cube = “) fmt.Scanln(&num) cube := num * num * num fmt.Println(“\nThe Cube of a Given Number = “, cube) } … Read more