//code
ofstream outFile;
outFile.open("p4a.dat");
outFile << setw(8) << "90.0";
outFile << setw(8) << "75.0";
outFile << setw(8) << "36" << endl;
outFile << endl;
outFile << setw(8) << "156.0";
outFile << setw(8) << "130.0";
outFile << setw(8) << "58" << endl;
outFile << endl;
outFile << setw(8) << "105.0";
outFile << setw(8) << "87.5";
outFile << setw(8) << "41" << endl;
outFile << endl;
outFile << setw(8) << "180.0";
outFile << setw(8) << "150.0";
outFile << setw(8) << "66" << endl;
outFile.close();
//code
Last edited on