Tampilkan postingan dengan label kelompok 2. Tampilkan semua postingan
Tampilkan postingan dengan label kelompok 2. Tampilkan semua postingan

Selasa, 15 Maret 2016

diskusi tabungan


penyelesaian dengan raptor




KASUS PERTEMUAN MINGGU KE-2



 KASUS PERTEMUAN KE 2



penyelesaian dengan C++

#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;
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;
}




penyelesaian dengan Raptor







penyelesaian dengan C++

#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;
int b;
cout<<"A =";
cin>>a;
cout<<"B =";
cin>>b;
cout<<"Jumlah perkalian = ";
cout<<a*b;
return 0;
}




penyelesaian dengan Raptor





penyelesaian dengan C++

#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;
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;
}




penyelesaian dengan Raptor








penyelesaian dengan C++

#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 z, q, n, r, m;
cout<<" Menghitung Nilai R Dengan Hasil Sisa Dari M "<<endl;
cout<<" Masukkan q : ";
cin>>q;
cout<<"Masukkan n : ";
cin>>n;
m=q*n+3;
z=q*n;
r=m-z;
cout<<m<<" = "<<q<<" z "<<" + "<<r;
cout<<" Jadi R-Nya = "<<r<<endl;
return 0;
}


penyelesaian dengan Raptor