" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
using namespace std;
void main()
{
int jam, menit, detik, hasil;
cout<<"Masukan jam";
cin>>jam;
cout<<"Masukan menit";
cin>>menit;
cout<<"Masukan detik";
cin>>detik;
hasil= (jam*3600)+(menit*60)+detik;
cout<<"hasilnya: "<<hasil<<endl;
}