Breaking News
Loading...
Selasa, 15 Maret 2016

Tugas 2.1

Menghitung 3 Bilangan bulat dengan C++ dan Raptor

dev c++ :

#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;
int b;
int c;
int jumlah;
cout<<"A =";
cin>>a;
cout<<"B =";
cin>>b;
cout<<"C =";
cin>>c;
cout<<"JUMLAH = ";
cout<<a+b+c;
return 0;
}

setelah di kompile hasilnya :



Raptornya : 


0 komentar:

Posting Komentar

Copyright © 2014 My Blog My Adventure All Right Reserved