Question: Given string strInput, output Valid length if the string's length is greater than 3 . Otherwise, output Too short. End with a newline. Ex: If

Given string strInput, output "Valid length" if the string's length is greater than 3. Otherwise, output "Too short". End with a newline.
Ex: If the input is ornament, then the output is:
Valid length IN C++

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 Programming Questions!