Untitled
unknown
c_cpp
2 years ago
179 B
3
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