Compare

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#include<stdio.

h>
#include<stdlib.h>
#include<math.h>
void main()
{
float x,y,x1,y1;
printf("Enter the value of Coordinate value");
scanf("%f %f",&x ,&y);
if(x>x1&&y>y1);
{
printf("The Estimated Latitude and Longitude value is greater than the actual
value");
}
elseif(x>x1&&y<y1);
{
printf("The Estimated Latitude is greater and Longitude value is lesser than
the actual value");
}
elseif(x>x1 && y=y1);
{
printf("The Estimated Latitude is greater and Longitude value is equal than the
actual value");
}
elseif(x<x1 && y>y1);
{
printf("The Estimated Latitude is lesser and Longitude value is greater than
the actual value");
}
elseif(x<x1 && y<y1);
{
printf("The Estimated Latitude is lesser and Longitude value is lesser than the
actual value");
}
elseif(x<x1 && y=y1);
{
printf("The Estimated Latitude is lesser and Longitude value is equal than the
actual value");
}
elseif(x=x1 && y>y1);
{
printf("The Estimated Latitude is equal and Longitude value is greater than the
actual value");
}
elseif(x=x1 && y<y1);
{
printf("The Estimated Latitude is equal and Longitude value is lesser than the
actual value");
}
elseif(x=x1 && y=y1);
{
printf("The Estimated Latitude is equal and Longitude value is equal than the
actual value");
}
}

You might also like