Project/app_code/variable.c
int check_float(char a[])
{
	int i=0;
	while(a[i]!='\0')
	{
		if(a[i]=='.')
			return 1;

		i++;
	}
	return 0;
}
/*---CHECK WHETHER THE NUMBER IS INT OR FLOAT---*/
CHECK WHETHER THE NUMBER IS INT OR FLOAT
CHECK WHETHER THE NUMBER IS INT OR FLOAT
int check_float(char a[])
{
	int i=0;
	while(a[i]!='\0')
	{
		if(a[i]=='.')
			return 1;
		i++;
	}
	return 0;
}
int check_float ( char a [ ] ) { int i = 0 ; while ( a [ i ] != ' \0 ' ) { if ( a [ i ] == ' ' ) return 1 ; i ++ ; } return 0 ; }
CHECK WHETHER THE NUMBER IS INT OR FLOAT
CHECK WHETHER THE NUMBER IS INT OR FLOAT