If the value of x is -35.3271, and x is written to a file using this statement, what value is saved in the file?
```
outfile << setiosflags( ios::fixed ) << setprecision(2) << setw(6)
<< x << endl;
```
a. -35.3271
b. -35.33
c. 35.33
d. -35.32
b. -35.33
You might also like to view...
class rectangleType{public:void setLengthWidth(double x, double y);//Postcondition: length = x; width = y;void print() const;//Output length and width;double area();//Calculate and return the area of the rectangle;double perimeter();//Calculate and return the parameter;rectangleType();//Postcondition: length = 0; width = 0;rectangleType(double x, double y);//Postcondition: length = x; width = y;private: double length; double width;}; Consider the accompanying class definition, and the declaration:rectangleType bigRect; Which of the following statements is correct?
A. rectangleType.print(); B. rectangleType::print(); C. bigRect.print(); D. bigRect::print();
If you accidentally delete valuable data, immediately click the ____ button in the Standard toolbar.
A. Restore B. Reset C. Redo D. Undo