top of page


Movie Duration in Hours


2 Medium

1 Inputs and Outputs


Write a program that converts a movie duration from minutes to hours and minutes.

Inputs: Duration in minutes. Outputs: Duration in hours and minutes. Calculations: Divide by 60 for hours and use remainder for minutes. Variables: minutes, hours, remaining_minutes.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page