Hi, all this is my first post in this forum. I am really new with this stuff.
Ok what i need to do is this, when entering the data i need the Variable to accept only integers and not characters. if a user enters a character it will re prompt for the data.
i want it so that the variable 'num' only accepts integers if the user enters a letter it will re prompt wiht the same message.Code:printf("Please Enter the number of Sales People :"); scanf("%d", &num);