//Sum of digits of a number.
cout<<"Sum of digits of a number:-\n";
cout<<"Enter the number: ";
cout<<"Sum of digits of the number "<<m<<" is "<<s;
Write a main() program that calls this function at least 10
times. Try implementing this function in two different
ways. First, use an external variable to store the count.
Second, use a local variable. Which is more appropriate?