private String generateOutputWithPrice(ArrayList<MealData> meals, int i, String wishMeal, boolean isStudent) {
	 
	float priceS = 0;
	float priceE = 0;
	float price;
	boolean found = false;
	if( wishMeal != null ) {
		for (MealData m : meals) {
			if( m.getMealName().toString().toLowerCase().contains(wishMeal) ) {
				priceS = m.getS_price();
				priceE = m.getE_price();
				found = true;
				break;
			}
		}
	}
	if(!found) {
		priceS = meals.get(0).getS_price();
		priceE = meals.get(0).getE_price();  // when corresponding meal not found, return the first as default
	}
	if(isStudent) {
		  price = priceS;
	} else price = priceE;
	if( wishMeal.equals("")) {
	  wishMeal = meals.get(0).getMealName().toString(); // the first meal as default
   }
   String  output = "<" + wishMeal+ ">";
   output =  output + ";{ " + String.valueOf(price) + " }";	
	return output;
}