Question: Write a C program (NOT C++) that performs these steps: a. Read in the exchange.dat data file into a suitable internal data structure. b. Ask
Write a C program (NOT C++) that performs these steps:
a. Read in the exchange.dat data file into a suitable internal data structure.
b. Ask the user to enter two currency names: that of the old currency being converted and of the new currency being returned.
c. Ask for a value in the original currency.
d. Display the resulting value in the second currency.
The easiest way to compute this value is to convert the original currency to dollars and then convert the dollars to the target currency.
Step by Step Solution
There are 3 Steps involved in it
Heres a simple C program that performs the specified steps c include Define a structure to store exc... View full answer
Get step-by-step solutions from verified subject matter experts
