Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
188 B
2
Indexable
Never

#include <iostream>

using namespace std;
int main()
{
	double n, m, s, a;
	cin >> n >> m >> s;
	a = 12 * 3600 / 360;
	cout << (n * 3600 + m * 60 + s) / a << endl;





}
Leave a Comment