Write down program which comprises function calories() that is to accept long integer number total and address of integer variables pizza, chips apples and mustard. Passed long integer represents total number of calories you are able to consume in this meal, and function is to find out number of calories in slices of pizza, bags of chips, apples, and teaspoons of mustard in passed value, writing these values directly into respective variables declared in calling function.
This function will be called from main program and when it returns to main it will print out values of variables, pizza, chips, apples and mustard.
Calories are in this order
pizza 385
chips 170
apples 80
mustard 5