#include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
double a,b,c,d;
cout<<"Masukkan nilai jam dalam detik = ";cin>>a;
b=a/3600;
c=a/60;
d=a/1;
cout<<b<<"Jam "<<c<<"Menit "<<d<<"Detik";
return 0;
}
Tidak ada komentar:
Posting Komentar