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
4 odpowiedzi
+ 1
What your output says?
Check it playground....
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;
}
0
is there a way to convert that from Russian?



