Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
166 B
0
Indexable
Never
#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;
}
Leave a Comment