how do i validate y script so that it only accepts values between 1 and 3 and against any character input, cause at the moment i can only validate against numbers outside 1 and 3 but not characters
cheers
scanf will format your input according to the conversion specifier you provide.
sorry i still dont understand, beacuase it needs some validation because at the moment in a charcater is pushed it exits the program,
come on please help
come on all i need to do to validate my whole work is against characters please someone out there