Write a loop that will show the price of silver and gold


Using Code::Blocks, write a C++ program that displays a table showing the price of silver and gold. The table will have three columns. The first column will be labeled Ounces, the second labeled Silver, and the third labeled Gold. Write a loop that will show the price of silver and gold for 1 to 16 ounces in one ounce increments.

Today's silver price = $34 per ounce.

Today's gold price = $1,411 per ounce.

Include an algorithm written in pseudocode in the comments of your program.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write a loop that will show the price of silver and gold
Reference No:- TGS0654485

Now Priced at $40 (50% Discount)

Recommended (93%)

Rated (4.5/5)