Write a program that reads an exchange rate for converting English currency to U.S. currency and then reads several values in English currency and converts each amount to the equivalent U.S. currency. Display all amounts with appropriate labels. Use sentinel-controlled or end-of-file-controlled loops for the input.© BrainMass Inc. brainmass.com October 9, 2019, 4:24 pm ad1c9bdddf
Demonstrates how to convert one currency to another by using an exchange rate in C.
It also demonstrates the use of End-of-File marker to identify the end of input in a loop.
Includes the C source code, Input file and Output file.