I'm not well versed in C and I'm unsure how to get it to loop if the 9 digits are not entered
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
char NIN[9];
printf("Please enter your 9 digit NIN:\t");
scanf(" %s", &NIN);
What I have will overflow if you enter more than 9 which isn't what I want