ThinkSys Interview Question

Write a function in C++ to print: * ** *** **** *****