This is default featured slide 1 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured slide 2 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured slide 3 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured slide 4 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
This is default featured slide 5 title
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.
Sunday, March 29, 2015
Refleksi Minggu 4
Tugas Mentor
Jawab :
Sintak C++ :
#include <iostream>
using namespace std;
class faktorial
{
public:
int proses();
void output();
private:
int n,faktor;
};
int faktorial::proses()
{
cout<<"== MENGHITUNG ANGKA FAKTORIAL =="<<endl;
cout<<endl;
cout<<"Masukan Angka : ";cin>>n;
faktor=1;
if(n>0)
{
for(int i=1; i<=n; i++)
{
faktor*=i;
}}
else if(n=0)
{ faktor=1;
}
else
{ cout<<"Angka yg anda masukkan invalid/tidak dapat di proses";
}
return faktor;
}
void faktorial::output()
{ cout<<endl<<n<<"! "<<"adalah = "<<faktor;
}
int main()
{
faktorial angka;
angka.proses();
angka.output();
return 0;
}
Screenshootnya :
Friday, March 20, 2015
Refleksi Minggu 3
Tuesday, March 17, 2015
Refleksi Mingu 2
Sunday, March 8, 2015
Hasil diskusi kelompok minggu ke 2
2. Buatlah algoritma pemrograman untuk memisahkan bilangan integer yang kurang dari 1000 menjadi komponen - komponennya. sebagai contoh :
127 = 1 ratusan 2 + puluhan + 7 satuan
3. Buatlah algoritma dan program untuk menghitung determinan metriks berordo 2x2.
Saturday, March 7, 2015
Refleksi Minggu 1
<iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/ekPmiCUCkE?
rel=0&autoplay=1" width="560">
TUGAS Per #1
Jawaban :
Saya membuat program menghitung volume balok dengan mneggunakan raptor, C++, java
Raptor
C++
Java
Uji Kompetensi Tahap 1
1. Sebutkan 3 ciri umum Object-Oriented Programming!
jawaban :
- Pembungkusan (Encapsulation)
- Abstraksi (Abstraction)
- Pewarisan (Inheritance)
2.Dasar unit enkapsulasi dalam C++ adalah ?
jawaban : dasar unit enkapsulasi adalah class
3.Output dari program berikut setelah dieksekusi adalah
#include
cout<<"C++ is power progamming";
return 0;
}
jawaban: C++ is power progamming
4.Apa gunanya ditambahkan include <iostream> ?
7.Apakah operator input C++?
8.Apakah arti "\n"?
9.Mengapa identifier berikut salah ?