Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (kikuo):

http://prntscr.com/bf0wy9 Error: expected primary-expression before ';' token|

OpenStudy (kikuo):

@Sachintha

OpenStudy (kikuo):

I found what I did wrong with this one lol. Though, there is another one.

OpenStudy (kikuo):

Here.

OpenStudy (kikuo):

http://prntscr.com/bf0zbw error: invalid operands of types 'double' and '<unresolved overloaded function type>' to binary 'operator<<'|

OpenStudy (sachintha):

Try replacing it with this, cout << "You typed in $" << chargeOfFood << endl;

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!