Untitled
unknown
plain_text
2 years ago
166 B
4
Indexable
#include <iostream>
int main()
{
double h = 0;
double m = 0;
double s = 0;
std::cin >> h >> m >> s;
std::cout << h * 30 + m * 0.5 + s * 0.5 / 60;
}
Editor is loading...
Leave a Comment