generating tables of four colomns

5 views (last 30 days)
O
O on 14 Nov 2013
Answered: Image Analyst on 14 Nov 2013
Generate a table of conversions of four columns. First column contains dollars, second contains equivalent number of euros, third contains equivalent number of pounds and fourth contains equivalent number of yens. Print 25 lines in the table. Table should include a title, column labels and formatted output (use disp and fprintf commands)

Accepted Answer

Image Analyst
Image Analyst on 14 Nov 2013
Hint:
fprintf('Dollars Euros Pounds Yen\n')
for k = 1 : 25
fprintf(.......
end
Look up fprintf() in the help for examples.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!