#include <stdio.h>
#include <conio.h>
int main()
{
int a,b,c,d;
printf("Enter any 4 numbers");
scanf("%d%d%d%d",&a,&b,&c,&d);
if(a>b&&a>c)
{
else if(a>d)
printf("%d is greatest",a);
}
if(b>a&&b>c)
{
else if(b>d){
printf("%d is greatest",b);
}
if(c>a&&c>b)
{
else if(c>d)
printf("%d is greatest",c);
}
else
{
printf("%d is greatest",d);
}
}
Chat with our AI personalities
Add the two greatest possible four digit numbers. 9999 + 9999
8
the greatest multiple of four less than 100, is 96
0 has the greatest value.
The first four PRIME numbers are 2,3,5,7. If you square these you get 4,9,25,49. The first four squared numbers could be 1,4,9,16