Analisis :
- Input : misalkan a,b,c semua integer
- Proses : jumlah a+b+c
- Output : tulis (jumlah)
#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, c, jumlah;
cout<<"Masukkan nilai a =";
cin>>a;
cout<<"Masukkan nilai b =";
cin>>b;
cout<<"Masukkan nilai c =";
cin>>c;
jumlah= a+b+c;
cout<<"Penjumlahahan bilangan bulat"<<jumlah;
return 0;
}
Dengan Raptor;

