Minggu, 20 Maret 2016
3.1
Translasi algoritma menjadi class
deklarasi
a,b: integer
deskripsi
read(a,b)
if(a>b) then write
#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;
}
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.
18.34
alpro
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar