i have to create a program for school. here is the question:
pizza contains 355 calories per slice. jogging burns off 240 calories per hour. write a program to calculate how long, in hours and minutes, you would have to jog to burn off the pizza that you eat:
this is how it has to look:
How many slices of pizza? 3
you will have to jog 4.44 hours
this is what i have so far:
PROGRAM PIZZA (INPUT, OUTPUT);
VAR
SLICES, HOURS, MINUTES, CALORIES :INTEGER;
JOG :REAL;
BEGIN
WRITE ('HOW MANY SLICES OF PIZZA? ');
READLN (SLICES);
CALORIES := 355;
heres where i dont know what the hell im doing.
please help :confused: