Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
239 B
2
Indexable
Never
#include <iostream>
using namespace std;
struct timee
{
	int hours;
	int min;
	int sec;
};
int main() 
{
	timee da;
	cin >> da.hours >> da.min >> da.sec;
	cout <<"time 1 =  " << da.hours * 3600 + da.min * 60 + da.sec << "c";
}