here is the funtion:
Code:void Citrus::typeTest(Processing_Plants::Juice_t type) { if(type == Processing_Plants::Orange) cout << "It's Orange" << std::endl; else if(type == Processing_Plants::Grapefruit) cout << "It's Grapefruit - Yummy!" << std::endl; }
What is the proper syntax for calling this function? Thanks in Advance!