in this little program i would like to have these functions:
First part: It asks for a positive integer.
A: If the input is a positive integer, then go to the