Write a C++ program that reads from keyboard 3 words, with proper input prompt. Then for these 3 words that were read, the program displays first the word of the longest length, then the word of the shortest length, and finally the remaining last word. You may assume that these 3 words are all different in lengths, or consider a word to be of the longest length if no other words exceed it in length.
lolodede -2 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
lolodede -2 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
lolodede -2 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
lolodede -2 Newbie Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
lolodede -2 Newbie Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
ivailosp 11 Junior Poster
Traicey 10 Posting Whiz in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
lolodede -2 Newbie Poster
ivailosp 11 Junior Poster
lolodede -2 Newbie Poster
ivailosp 11 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.