#include #include // For setprecision() using namespace std; int main( ) { ifstream inMap; // input file stream ofstream outMap; // output file stream double distance, // Distance of rainbow heightMain, // 1st Rainbow's height heightSecondary; // Shadow's height inMap.open("inmap.dat"); outMap.open("outmap.dat"); outMap.setf(ios::fixed, ios::floatfield); outMap.setf(ios::showpoint); outMap << "Larry Titus" << endl; //*** substitute your own name *** outMap << "Rainbow Heights (in miles)" << endl << endl; inMap.ignore(200, '\n'); // Skip to next line of input.