Utfordring: Tidsberegning
Oppgave
Swipe to start coding
You have 8 video calls scheduled today. Each call takes 9 minutes, and you only have 60 minutes available.
- Calculate how many total minutes you need for all calls and save it to
total_minutes. - Find how many minutes you are short and save it to
shortfall. - Calculate how many calls you can complete in the available time and save it to
completed_calls. - Find how many minutes will remain unused after completing full calls and save it to
unused_time. - Print all results using clear messages.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 3.45
Utfordring: Tidsberegning
Sveip for å vise menyen
Oppgave
Swipe to start coding
You have 8 video calls scheduled today. Each call takes 9 minutes, and you only have 60 minutes available.
- Calculate how many total minutes you need for all calls and save it to
total_minutes. - Find how many minutes you are short and save it to
shortfall. - Calculate how many calls you can complete in the available time and save it to
completed_calls. - Find how many minutes will remain unused after completing full calls and save it to
unused_time. - Print all results using clear messages.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single