Implement and test a Fortran 90 program which has the following features:
Enter a positive integer (k):
After the user enters a value for k (the integer number will be assigned to a variable called k.), he/she gets the following menu
Press 1 for the sum of the integers from 1 to k.
Press 2 for k!
Continue? If not, press n or N, else press any other key.
If the user hits n or N, then the program stops running. If the user hits any other key, the program repeats the whole process (i.e. goes back to step #1.)
Invalid Option
And then, the program repeats the whole process (i.e. goes back to step #1).