Im having a problem with my loop. If someone gives me a credit card number less then 13 or greater than 16, i want it to loop and ask the user to enter a new number. It doesnt do that. Its on line 92 til 95
Thanks but it didnt solve my issue. I actual need it to ask the user to ask the first question again on line 69 which i just realized was my mistake. What i want it to do is if the user enters a length shorter than 13 or longer than 16 to ask the question again. Here is the up to date code.
I came across another error now. It will loop for both valid and invalid so if i put a number less than 13 and greater than 16 it loops but also does the same for valid entries.
Ok what happened now was that quit Xcode and then reopened it and pasted the code. Now it runs just the way it should. Thats really weird. Now i Cant get that screen shot. I dont know why that happened. I guess its a wierd compiler lol