Kizspy | Question: 29
(Choose 1 answer)
Consider the following program and answer the following questions.
#include<stdio.h>
void hours_and_minutes (int total, int& phrs, int& pmin)
{
pmin = total % 60
phrs = total / 60;
main()
{
FUSTER, LOW LOM
int tmin, hr 0, min = 0;
printf("Enter total minutes for videotape: ");
scanf("%d", &tmin);
hours_and_minutes (tmin, hr, min);
printf("That is %d hours and %d minutes\n", hr, min);
What is the result displayed to the screen
the user inputs
85
?
A. That is 8 hours and 5 minutes
B. That is 0 hours and 0 minutes
C. That is 1 hours and 25 minutes
D. That is 0 hours and 85 minutes