2017-07-18 14:42:16
#include <bits/stdc++.h>
using namespace std;
int main()
{
	char number[10];
	int flag=0;
	int length;
	clrscr();
	printf("Enter a number \n");
	scanf("%s",number);
	length=strlen(number);
	while(length--)
	{
		if(number[length]=='.')
		{
			flag=1;
			break;
		}
	}
	if(flag)
		printf("Floating point\n");
	else
		printf("Integer\n");
 
	getch();
	return 0;
}
Invalid Email or Password