void Prompt(string text,int & val);

int apples;
use prompt to get "How many apples do you want"