I need you guys to follow the instructions below and please upload the word file and and the coding file which is the .c file
Write a program that reads a string from the keyboard. The string may or may not have trailing white space (for the purpose of this assignment we define white spaces to be “normal” spaces and tabs). Pass the string to a function that removes the white spaces from the beginning and the end of the string. Print out the string. For ease of testing/looking at the result, the output string has to be put between three ‘x’ characters on the front and back, when printing it out.
Steps to take
Identify and document the input(s) and the output(s)
Describe the algorithm that solves the problem
Write the C program that solves the problem