int main () { gets(array); strcpy(arr, array); int k = 0; int array_length = strlen(array); while (k < array_length && isspace(arr[k])) ++k;//find number of white spaces for (int i = k; i <= array_length; i++) arr[i - k] = arr[i]; printf("%s ", arr); cin.get(); return 0; }
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments