Sabtu, 19 Maret 2016

Tugas minggu ke 3# kasus 3.1

 mencari nilai a>b #kasus 3.1

#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) {
    int a,b;
    cout<<"masukan nilai a =";cin>>a;
    cout<<"masukan nilai b =";cin>>b;
    if(a>b && b<a)
    cout<<"nilai lebih besar ="<<a;

    else
    cout<<"nilai lebih besar ="<<b;
    return 0;
}


Program raptor mencari a>b.

 


Unknown

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 komentar:

Posting Komentar