UBS Interview Question

Write simple programmes.