Untitled

 avatar
user_5811307
plain_text
7 months ago
246 B
1
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
    float grad, sum;
    cin >> grad;
    sum = (grad /30);
    int min =int(sum*60) - (int(sum)*60);
    cout << int(sum) << " " << min<< " "<< (sum*3600- int(sum)*3600 - min*60) << endl;
}
Leave a Comment