# Answered! Problems, print the specified tables using the transpose operator as needed. Include a table heading and column…

Problems, print the specified tables using the transpose operator as needed. Include a table heading and column headings. Choose an appropriate number of decimal places to print. Generate a table of conversions from degrees to radians. The first line should contain values for 0 degree the 2nd line for 10 degrees and so on. The last line should contain values for 360 degrees Generate a table of conversions from centimeters to inches. Start the centimeters column at 0 and increment by 2 cn. The last line should contain the value of 50 cm. (Recall that 1 in = 2.54 cm). Generate a table of conversions from miles per hour (mph) to feet per sec (fps). Start the mph column at 0 and increment by 5 mph. The last line should contain the value 65 mph. (Recall that 1 mi = 5280 ft) Currency Conversions. The following currency conversions apply to problems 4-7. exist1 = 5.045 francs (Fr) 1 Yen (Y) = exist0.0101239 1.4682 deutsche mark (DM) = exist1 Generate a table of conversions from francs to dollars. Start the francs column at 5 Fr and increment by 5 Fr. Print 25 lines in the table. Generate a table of conversions from DM to Fr. Strat DM column at 1 DM and increment by 2 DM. Print 30 lines in the table. Generate a table of conversions from Y to DM. Start the Y column at 100Y and print 25 lines with the final line containing the value of 10000 Y. Generate a table of conversions from exist to Fr, DM, and Y. Start the column with exist1, and increment by exist1. Print 50 lines.

// C++ code

#include <iostream>
#include <string>
#include <vector>
using namespace std;

int main()
{

Don't use plagiarized sources. Get Your Custom Essay on
Answered! Problems, print the specified tables using the transpose operator as needed. Include a table heading and column…
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS \$13/PAGE

double dollartofrance = 5.045;
double yentodollar = 0.0101239;
double dollartoDM = 1.4682;
double dollar, fr,dm,y;

cout << “Dollart Frt DMt Yn”;
for (dollar = 1; dollar <= 50; ++dollar)
{
fr = dollar*dollartofrance;
dm = dollar*dollartoDM;
y = dollar*(1/yentodollar);

cout << dollar << “t” << fr << “t” << dm << “t” << y << endl;
}

return 0;
}