I have been doing wicked good lately thanks to all the help I've been getting here but I am having some issues with this code. I am trying to write a code that "Output "Valid" if input contains fewer than 6 numbers and input's length is less than or equal to 8. Otherwise, output "Invalid"."
I feel like I need a npos somewhere but I can't figure out where because I am so new.
Valid - if input < 6 digits and inputLength <= 8 ?? Seems a queer valid requirement. Just a single 'a' or <space> would satisfy this. Have you got valid/invalid the wrong way round?