Hey can someone tell me a way to make the [b] in the if statement increment to 50?
here is the code so far.
printf ("\nPlease enter the 4 digit registration of your car:");
scanf ("%d", ®o_check);
//for (b=0; b>50; b++)
if (rego_check == rego_array [b])
printf ("\nThe registration you entered is already in the carpark please enter a new registration");
rego_array [i] = rego_check;