You mean put the (while<0) inside the other? i already do that, and the problem is when i enter a float number validates it then i enter a negative and doesn't validate it
Type: Posts; User: lifeless
You mean put the (while<0) inside the other? i already do that, and the problem is when i enter a float number validates it then i enter a negative and doesn't validate it
i didn't put it because i want different messages, one message for only positives and another one for only integers
hi everyone i'm programming validation of a number that only accepts positive integers the code below is for only integers
#include<ctype.h>
#include<stdio.h>
int main(void)
{
char...