HP Inc. interview question

Design software that does simple task