We've been dealing with "For Loops" so basically this code needs to contain at least one.
Heres all I can think to figure out:
cout<<"Enter a word: "; cin>>word; for(int i=0; i>word.length; i++) word.find()
Yeah, I dont really understand this and Im not sure what exactly needs to be in it but Im pretty sure Ill need the substr, length, and find functions.
Any help is greatly appreciated. Thanks

New Topic/Question
Reply




MultiQuote



|