Back to Multiple Choice Quiz
setprecision with fixed
C++ quiz · Question 66What is the output of the following code?
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
cout << fixed << setprecision(2) << 3.14159;
}