Deloitte interview question

Testing, Waterfall model basic input output in C++