Question: Please write the program in C language. It should first declare the numbers in the array named rates. It shouldn't ask the user to enter

Please write the program in C language. It should first declare the numbers in the array named rates. It shouldn't ask the user to enter the number. The numbers should be declared in the program. Then it should display the numbers and locate the largest and smallest value of the array.

Write a C program that uses a declaration statement to store the following numbers in an array named rates:15.75,22.00,18.75,20.45,6.25,12.52. Your program should display the contents of the array and then locate and display the largest value and the smallest value of the array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!