Use your favorite internet search engine and World Wide Web browser to identify recent currency conversions for British pounds sterling, Japanese yen, and the European euro to U.S. dollars. Use the conversion tables to create the following tables. Use the disp and fprintf commands in your solution, which should include a title, column labels, and formatted output.
3. Generate a table of conversions from yen to dollars. Start the yen column at ¥5 and increment by ¥5. Print 25 lines in the table.
4. Generate a table of conversions from the euro to dollars. Start the euro column at €1 and increment by €2. Print 30 lines in the table.
5. Generate a table with four columns. The first should contain dollars, the second the equivalent number of euros, the third the equivalent number of pounds, and the fourth the equivalent number of yen.
Comments
Leave a comment