Capgemini Interview Question

Write a program to accept number and display it