Computer Science, asked by ravikanth77, 6 hours ago

How to write a c program to accept 4 numbers and find out and print out lowest Number among them?

Answers

Answered by abhiabhilasha79790
0

Answer:

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);

Similar questions