Infosys interview question

Write a code for a simple problem, latest technology going on.