Print an integer entered by the user

To write a function that gets the integer entered by user and print it.



Program:




Output:

Enter an integer
5
Integer entered by you is 5