Computer Science, asked by ayushshivesh24, 7 months ago

write a program using suitable input stream to input hours and minutes convert hours to minutes and minutes to hours​

Answers

Answered by CoderRishav
1

Explanation:

Language i used is python, for converting hrs to min, 1h = 60min, so, hrs_to_min function convert hrs to min, and 1 min = 1//60(it will give int value)hrs, min_to_hrs convert minutes to hours.

Attachments:
Similar questions