0
Identify the c++ code error.
#include <iostream> using namespace std; int main() { double length = 5.6; double height = 3.1; double area = length * height; cout >> area; }
1 Respuesta
+ 5
You should be inserting <area> into the output stream using the insertion operator <<
But here you use extraction operator >> instead ...