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, t
hen 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#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
