C++ Lama Pengerjaan Proyek

#include <iostream>
#include <conio.h>
#include <math.h>
int main(){
//variable
int a,b,c,d;
cout <<"   ========================="<<endl;
cout <<"   ===>PENGERJAAN PROYEK<==="<<endl;
cout <<"   =========================\n\n"<<endl;
cout << " Berapa lama proyek anda di kerjakan(hari) ? ";
cin >> a;
b=a/365;
c=(a%365)/30;
d=(a%365)%30;
cout<<endl;
cout<<"   ===============\n";
cout<<"   -----HASIL-----\n";
cout<<"   ===============\n\n";
cout<<"      Tahun : Bulan : Hari"<<endl;
cout<<" "<< b << "   :   " << c << "   :  " << d << endl;
getch();
}

0 Response to "C++ Lama Pengerjaan Proyek"

Posting Komentar