Question: Read values from input until an integer is read that is not in the range 25 to 50, both exclusive. Output the last string value

Read values from input until an integer is read that is not in the range 25 to 50, both exclusive. Output the last string value read followed by ": alert!". End with a newline. Ex: If the input is Sash 28 Jersey 37 Shirt 29 Dress 32 Coat 1, tRead values from input until an integer is read that is nothen the output is: Coat: alert!

Jump to level 1 Read values from input until an integer is read that is not in the range 25 to 50 , both exclusive. Output the last string value read followed by ": alert!". End with a newline. Ex: If the input is Sash 28 Jersey 37 Shirt 29 Dress 32 Coat 1, then the output is: Coat: alert! 123456789#includeusingnamespacestd;intmain(){/Yourcodegoeshere/return0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!