Infosys Interview Question

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