Problems
Write a program that repeatedly receives words as input and stops when "0" is entered.
After that, print the number of words entered and then print the words entered in odd positions, one per line.
The number of words does not exceed 50, and each word has a length of at most 100 characters.
Example
keyboard
mouse
monitor
0
3
keyboard
monitor
Source
자기주도C언어프로그래밍