[Solved]Need Help Asap C Program Code Please Help Read User Input Seven Years Tibet Pg 92 Mname Mr Q37029900
need help ASAP with this c++ program. I have my code belowplease help!
Read in (from user input): “Seven Years in Tibet PG 92” intomName, mRating and mDuration.
Find out if ‘Y’ and ‘z’ are in mName.
Report the last 5 characters in mName.
Report 5 characters starting at index 6.

need to do the bottom three questions and modify my codepleasestring mName; string mRating: string mDuration; cin > mName; cin >> mRating: cin > mDuration; getline string str4 = “Seven Years in Tibet PG 92”; cout << str4.substr (0,7) << endl; cout<< str4.substr (8,4) << endl; cout << str4.substr (str4.length)6, 6) << endl; return0; Show transcribed image text string mName; string mRating: string mDuration; cin > mName; cin >> mRating: cin > mDuration; getline string str4 = “Seven Years in Tibet PG 92”; cout
Expert Answer
Answer to need help ASAP with this c++ program. I have my code below please help! Read in (from user input): “Seven Years in Tibet… . . .
OR

