Difficulty: Very Easy
Time to solve: 1-2 min
Video this is covered in: 1-4

#include
#include
using namespace std;
int main(){

double x=2.53, y=2.17;

cout << setiosflags(ios:fixed) << setiosflags(ios:showpoint) << setprecision(2); cout << x*y; return 0; }

Error Message: Testing.cpp:8: error: expected primary-expression before ':' token
Testing.cpp:8: error: expected primary-expression before ':' token

Last modified: October 14, 2013

Author