Before:

// Determine the name of the stock
if( 'c' == stockPick )
{
   stockName = "Coca Cola";
}
else
{
   stockName = "Pepsi";
}

// Determine the share price of the stock
if( 'c' == stockPick )
{
   stockPrice = COCA_COLA;
}
else
{
   stockPrice = PEPSI;
}