Write a C++ function with the following header to format the integer with the specified width.
Void format(int number, int width, char [] res)
The function ret