Selasa, 15 Maret 2016

kasus 3.1

Assalamualaikum wr.wb
hy guys, what's you guys. how are you today. i hope you always be better than yesterday.
maaf nih guys lagi sibuk2nya nih memuat laporan atau biasa disebut tugas jadi nih blog jadinya kudet yah hehehe ( kurang upddate) tapi tenang karena saya selalu aktif kok heheeh.
ok i dont wanna waste your time, you"ve to see my program let's check this out :
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char** argv) {
    int a,b;
    cout<<"menetukan bilangan terbesar    "<<endl;
    cout<<"masukkan bilangan 1    :";cin>>a;
    cout<<"masukkan bilangan 2    :";cin>>b;
    if(a>b){
        cout<<"bilangan 1    :"<<a;
    }
    else{
        cout<<"bilangan 2    :"<<b;
    }
    return 0;
}

0 komentar:

Posting Komentar