Question: 6 0 1 2 7 0 . 4 1 2 0 1 1 4 . q 3 z q y 7 Jump to level 1
Jump to level
String codeWord is read from input. For each character in codeWord that is a letter, increment count by Then, output "Valid" if
count is at least and codeWord's length is greater than Otherwise, output "Invalid". End each output with a newline.
Click for examples
Ex : If the input is S vF then the output is:
Valid
Ex : If the input is WBPS then the output is:
Invalid
Note: isalpha returns true if a character is a letter, and false otherwise. Ex: isalphaa returns true. isalpha returns false.
#include
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
