Untitled

Anonymous
plain_text
11/25/2023 7:39 PM
236 B
19
Indexable
#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;

}
Editor is loading...
Leave a Comment