Updated if statement to a ternary

deleted if(cost + totalWage >= profit)
added profit = (totalSpent >= itemsSold) ? "You are making a profit!" :
"You are not making a profit!!!"