printf(“\n\nWhich currency are you converting from: “);
sr = get_menu_input(counter);
printf(“\n\nWhich currency are you converting to: “);
ds = get_menu_input(counter);
printf(“\n\nHow much do you have to convert: “);
amount = get_amount();
result = amount * atof(data[ds][1]) / atof(data[sr][1]);
printf(“\n\n___________________________________________\n\n”);
printf(“%lf %s are equal to %lf %s”,amount,data[sr][2],result,data[ds][2]);
printf(“\n\nWould you like to make another conversion(Y/N)?\n Pressing ‘N’ will terminate this program. “);
}
while (getch() ==’y’);
return 0;
}
PLEASE SEE (FINAL) PART 3 OF QUESTION.