prog.cpp: In function ‘int main()’:
prog.cpp:37:40: error: no match for ‘operator<<’ (operand types are ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ and ‘<unresolved overloaded function type>’)
cin.getline(name, (sizeof(name) - 1)) << endl;
^
Reprint Cost 0.50
Tax Amount 18795070
Total Cost 18795070
Press any key to continue . . .
thats what came out, it looks like the calculation didn't come out accurate. When it ask for the customers name, i type example and click enter, and it just goes to the second line .
Then it asks me for the order date and i put the date and the number of photos, but none of the calculations come out correct.