Kamis, 24 Maret 2016

Mencari Nilai Terbesar

 Mencari Nilai Terbesar

😊





#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,s,d;
    cout<<"masukan nilai a =";cin>>a;
    cout<<"masukan nilai s =";cin>>s;
    cout<<"masukan nilai d =";cin>>d;
    if(a>s&&s>d)
    cout<<"bilangan terbesar = "<<a;
    else if(s>a&&s>d)
    cout<<"bilangan terbesar ="<<s;
    else
    cout<<"bilangan terbesar ="<<d;
    return 0;
}





Program Raptor:

😎😊😊😊


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