Untitled
Anonymous
c_cpp
11/25/2023 6:13 PM
240 B
16
Indexable
#include <iostream>
using namespace std;
int main()
{
int h, m, s;
float g;
cin >> h >> m >> s;
g = (30 * h) + float((0.5*m)) + float((0.00833333*s));
cout << g;
}Editor is loading...
Leave a Comment