if anybody can help with this please

write a simple script. is working properly.
Look at the following examples:
Example 1:
[min@alpha min]$ ./lastname
Enter an integer number:
3
You entered 3
The sum of all the integers from 0 to 3 is 6
The integer 3 that you entered is odd
Example 2:
[min@alpha min]$ ./lastname
Enter an integer number:
4
You entered 4
The sum of all the integers from 0 to 4 is 10
The integer 4 that you entered is even
Note: Your lastname script must do 3 things:
1) Display which integer the user has entered. For example, if the user enters 3 then lastname script says "You entered 3"
2) If the user enters an integer. For example, 3 then 1+2+3=6, 4 1+2+3+4=10, or 100 1+2+3+...+100=5050.
the script will have to identify if the user input integer is odd or even and display accordingly. For example, if the user enters 3 it should display "The integer 3 that you entered is odd" or if the user enters 4 it should display "The integer 4 that you entered is odd