Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

[c++ Error] /Users/jeonjiwan/CLionProjects/CIS27/main.cpp:73:28: error: type 'Convert' does not provide a call operator cout < > choice; switch (choice) { case 1: cout <

[c++ Error]

/Users/jeonjiwan/CLionProjects/CIS27/main.cpp:73:28: error: type 'Convert' does not provide a call operator cout <

#include  using namespace std; class Convert { public: double currentMoney; double resultMoney; // double currentMoney, resultMoney; private: void setConvertYen(double currentMoney) { resultMoney = 1.4 * currentMoney; } double getConvertYen() { return resultMoney; } void setConvertEuro(double currentMoney) { resultMoney = 1.5 * currentMoney; } double getConvertEuro() { return resultMoney; } void setConvertPeso(double currentMoney) { resultMoney = 1.7 * currentMoney; } double getConvertPeso() { return resultMoney; } }; int main() { int choice; double money; Convert cv; //cv = Convert(money); do { cout << "Input your current money statement"; cin >> money; cout << "Chose one of them "; cout << "1. Dollar to Yen "; cout << "2. Dollar to Euro "; cout << "3. Dollar to Peso "; cout << "4. Close the Program "; cin >> choice; switch (choice) { case 1: cout <                        

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

Students explore these related Databases questions