18 lines
270 B
C++
Raw Normal View History

2021-02-19 12:06:26 -05:00
#include <iostream>
using namespace std;
int main() {
int seconds;
int minutes;
int hours;
/* Type your code here. */
cin >> hours >> minutes >> seconds;
cout << "Seconds: " << (hours * 60 * 60) + (minutes * 60) + seconds << endl;
return 0;
}