c program to find min and max value among 4 numbers

Answers 1

Answer:

int length = sizeof array / sizeof array[0]; for (int n = 0; n < length; n++) { if(array[n]>max) { max = array[i]; } if(array[n]<min) { min = array[i]; } } printf("Maximum Number:\t%d\n",max); printf("Minimum Number:\t%d\n",min)

If you know the answer add it here!

Can't find the answer?

Log in with Google

or

Forgot your password?

I don't have an account, and I want to Register

Choose a language and a region
How much to ban the user?
1 hour 1 day 100 years