Capgemini interview question

Write a program to accept number and display it