i need to write a c++ program that prompt the user to enter a sentence consist of three words using the function getline, then the program should print the third word using the function (charctr.find) and find its length using the function (string .lenght)
screen shot :
Please enter a three word sentence : ali loves jordan
the last word in the sentence is : jordan
and its length is : 6
could you help my please !!!
If you "know everything about it", then you should have no problem with this. And no, you do not know EVERYTHING about them. Only a fool claims to know everything about a topic.