Question: How can I complete this without using the int main() function?Because we are using the menu system, the function for this problem cannot be called

How can I complete this without using the int main() function?Because we are using the menu system, the function for this problem cannot be called "main" as stated in the book.
here is my code:
#include
void show(double rates[], int size) {
int i;
for (i = 0; i printf("%lf ", rates[i]); } printf(" "); } int main() { double rates[9] = { 6.5,8.2,8.5,8.3,8.6,9.4,9.6,9.8,10.0 }; show(rates, 9); getchar(); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
