Atos interview question

Program to generate electricity bill