// get the input as a string and make to arrya word by word arr[b]=a;//when we found the space between the two words we are puting the previously appended value to (a) to array 1 ...