Computer Science, asked by singhkushwahaayush0, 19 days ago

write a program to convert minutes into hours


ok byeee byeee dear
@jiya

only for you 50 pts​

Answers

Answered by Jiya0071
1

Answer:

The program output is shown below.

#include<iostream>

using namespace std;

int main ()

{

float hrs, min, sec = 0;

cout << "Enter hours : ";

cin >> hrs;

min = hrs * 60;

Ty

kya kr rhe ho?

Answered by Itzintellectual
1

Answer:

Explanation:

Hey there.

Here is ur answer

#include<stdio.h>

int main()

{

int minute;

printf("\n\n\tEnter minutes = ");

scanf("%d",&minute);

printf("\n\t Entered minutes = %d minutes \n\t Which is equivalent to = %d hours and %d minutes",minute,minute/60,minute%60);

return 0;

}

Similar questions