Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
167 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main() {
	float h;
	float m;
	float s;

	cin >> h >> m >> s;
	cout << h * 30 + m * 30 / 60 + s * 30 / 3600;
}
Leave a Comment