Untitled
unknown
plain_text
2 years ago
175 B
6
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