Question: IN C++ PLEASE Use cin to read strings from input until tie is read. If the string read from input is not equal to tie,
IN C++ PLEASE Use cin to read strings from input until "tie" is read. If the string read from input is not equal to "tie", output "Missed". Otherwise, output "Made it." End each output with a newline.
Ex: If the input is:
sweater nightgown waistcoat cloak jersey belt tie
then the output is:
Missed Missed Missed Missed Missed Missed Made it.
#include
int main() {
/* Your code goes here */
return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
