Question: using c++. please help Read values from input until Finale is read. For each string value read, if the following integer value read is less

using c++. please help Read values from input until "Finale" is read.using c++. please help

Read values from input until "Finale" is read. For each string value read, if the following integer value read is less than 30 , output the string value followed by ": low on stock". Otherwise, output the string value followed by ": well stocked". End each output with a newline. Ex: If the input is Belt 34 Bib 1 Skirt 4 Finale, then the output is: Belt: well stocked Bib: low on stock Skirt: low on stock 12345678910#includeusingnamespacestd;intmain(){/Yourcodegoeshere/intreturn0

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!