double Price() { double l, m, s; l = 3.50; m = 2.50; s = 1.50; return Price(); } void Sprite(int& x) { string large, medium, small; string size; double a, b, c; a = Price(l); <big>// im trying to get the value of l from int Price into a. </big> cout << "Large, Medium, or Small?" << endl; getline(cin, size); if ((size == "Large" || (size == "large")) { // ignore this part cout << "That will be" << }; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)