A basic implementation of a program that reads in a number from the user and converts it to an integer for maths.