0

toMinutes

You are building an Hours to Minutes converter. Complete the given function so that it will take from user the count of hours as an argument, convert them into minutes, and output. Sample Input 5 Sample Output 300

22nd May 2022, 6:37 PM
Timur Nurzhau
4 Respuestas
+ 1
What your output says? Check it playground....
22nd May 2022, 6:44 PM
Jayakrishna 🇮🇳
0
Its true? #include <iostream> using namespace std; //ваша функция void toMinutes(int hours) { int minutes = hours*60; cout<<minutes;//завершите функцию } int main() { int x; cin>>x; toMinutes(x);//вызовите функцию return 0; }
22nd May 2022, 6:39 PM
Timur Nurzhau
0
is there a way to convert that from Russian?
23rd May 2022, 2:33 AM
Ean Bynoe
Ean Bynoe - avatar