1>c:\users\kenneth\desktop\bill organizer program\bill organizer\bill organizer\bill organizer.cpp(26) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'int' (or there is no acceptable conversion)
Please help me to understand where I am making the mistake. Keep in mind, this is just the function out of a class.
Firstly, write your code between [cod3] and [/cod3] (replace '3' with 'e').
The operator>> takes as argument a reference. But you can't make a reference to a temporary variable,such as a toupper(choice).
You maybe want to do this: