Question: Please write this in C not C++ Name this program one.c-This program reads words from standard input until it hits end-of-file. For each word, it
Name this program one.c-This program reads words from standard input until it hits end-of-file. For each word, it prints only the first and last characters of the word, printing each word on a separate line. Note that if a word only has one letter in it, the program only prints that letter once. None of the words in the input will be longer than 50 characters. A sample execution of the program is shown below. I. /a.out Enter your text: Crimson Tide x y z Alabama control-d> Cn Te Aa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
