Question: Could you please tell me how to fix this code (C++) Answer doesn't match Input h10567 Your output Invalid Expected output Valid 5: Compare output
Could you please tell me how to fix this code (C++)
Answer doesn't match


Input h10567 Your output Invalid Expected output Valid 5: Compare output Input 7260584013 Your output Invalid 6: Compare output Input 6TNA8vn Your output Invalid X 7: Compare output Output differs. See highlights below. Input 528B30Y6 Your output Invalid Expected output ValidOutput "Valid" if input contains at least 4 numbers and input's length is less than or equal to 8. Otherwise, output "Invalid". Ex: If input is test123, output: Invalid Recall isdigit() checks if the character passed is a digit. EX: isdigit( '8' ) returns a non-zero value. isdigit( ' a' ) returns 0. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
