(Return number of digits) Write a function that returns the number of digits in an integer using the following header:
int getSize(int n)
For example, getSize(45) returns 2, getSize(3434) returns 4 , getSize(4)
returns 1 , andgetSize(0) returns 1. Write a test program that prompts the user to enter an integer and displays its size.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.