#include <stdio.h>
int main()
{
long double firNum;
long double secNum;
printf("Enter the first number: ");
scanf("%Lf", &firNum);
printf("Enter the second number: ");
scanf("%Lf", &secNum);
if(firNum > secNum)
printf("%Lf is the larger number.\n", firNum);
else if(secNum > firNum)
printf("%Lf is the larger number.\n", secNum);
else
printf("The numbers are equal.\n");
return 0;
}
Comments
Leave a comment