PRF192_-_SP_2025_-_Block_5_-_2_3869.webp
AllMight90

PRF192_-_SP_2025_-_Block_5_-_2_3869.webp

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

Thông tin

Category
PRF192
Thêm bởi
AllMight90
Ngày thêm
Lượt xem
1,435
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom