I have to make a programm with C++ which recognizes the car palatenumber.
Normal platenumber for example 123ABC
Not a local platenumber 1R or CLOUD7
I know that I need to use strings to do it, but I have no idea how to put it that it will recognize that in the platenumber there is like 2 numbers and 5 letters.
I would be so happy if someone can help me!
Put this input string in a loop until it reaches end of string, then take each character and check if they are alphabet or number using their ascii...
u should use this algo and try to code it yourself...
Maybe you should read the string with the getline function because this one stores the entire string into an array of characters, and then you do what SUH said.