input: Write a function to compute the cube of a given integer. The function should prompt the user to input an integer, compute its cube, and print the result. The function name should be `compute_cube`.
  assert compute_cube()==None
  assert compute_cube()==None
output: def compute_cube():
      num = int(input("Enter an integer: "))
      print(num ** 3)