Open the input file (associate file name and location with input file stream variable) infile.open(\"h:\\\\doublevalue.txt\");//Open non-existent output file or append new output to existing output file. outfile.open(\"h:\\\ carestint.txt\". ios::app); (Now use input file stream variable inFile (instead of Cin) whenever input is from a file and not from the keyboard. Examples are: infile >> value; infile.get (ch); infile.ignore(25. \'S\'), getlinc(infile, sir); Use the output filcstrcam variable outfile (instead of cout) to output strings of text and variable values to the output file.) Lab Assignment: Write a program to consort floating point to the nearest integer, using file input and output. The output should identify both the input value and the rounded value. in a sentence. The input file must exist, with the data in it. before sou run the program. Run twice with different input values each time. The output file should contain the results of both runs. Solution This is the pseudo code to convert a float number to the nearest integer value... float a; int b; cin>>a; b=round(a); cout<<\"b and a are \"<<b<<\" \"<<a; .