Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
175 B
1
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int H, M, S;
	double c;
	cin >> H >> M >> S;
	c=(double)H * 30 + M * 30 / 60 + S * 30 / 3600;
	cout << c;

}
Leave a Comment