Question: c++ Given: enum currencyType DOLLAR, POUND, FRANK, LIRA, MARK) currencyType currencyi which of the following statements are valid? a. currencY DOLLAR; b. cin >> currency:

c++
Given: enum currencyType DOLLAR, POUND, FRANK, LIRA, MARK) currencyType currencyi which of the following statements are valid? a. currencY DOLLAR; b. cin >> currency: c currency-static castscurrencyType> (currency+1) d. f r (currency = DOLLAR ; currency //Line 1 using namespace sdt //Line 2 //Line 3 //Line //Line 5 int main () int xi //Line6 //Line 7 //Line 8 //Line 9 return o (2 points) What is wrong with the following program? # include //Line 1 //Line 2 Line 3 namespace aaa const int XO doubley Line 4 //Line 5 //Line 6 //Line //Line 8 using namespace stdi int main) y34-50
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
