Tugas PBO

tugas2 ini sapa yang mau tugas PBO

contoh program buat luas segi tiga, persegi panjang, trapesium :

#include <iostream.h>
#include <conio.h>
class luas {
public:
int st();
int pp();
int t();
luas (int, int);
~luas();
private:
int *p,*l;
};

int luas::st()
{return (0.5**p**l);}
int luas::pp()
{return (*p**l);}
int luas::t()
{return (*p**l);}
luas::luas (int p1, int l1)
{ p=new int; l=new int;
*p=p1; *l=l1;}
luas::~luas()
{ delete p;
delete l;}

main() {
luas a(10,5);
cout<<“Luas segitiga = “<<a.st();
cout<<“\nLuas persegi panjang = “<<a.pp();
cout<<“\nLuas trapesium = “<<a.t();
getch();
}

Iklan

Cara Install Xampp

 Ini tugas kampus dari dosen gw, masa cuman nginstal aja, ya gpp lah, buat yang cupu, gw juga cupu sih, hehehehehehe

kalian bisa download sofwarenya di Xampp
Baca lebih lanjut

Tugas C++ 2

ini tugas ke 2 C++, huh habisna di protes ma temen, “tugasnya kurang nih, yang CONSTRUCTOR DAN DESTRUCTOR“. OK OK, q kerjakan. laen kali buat tmn2q yang mau nyontek tugas, bawakan kue dong!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! capek nih
Baca lebih lanjut

Tugas C++ 1

nih tmn-tmn kampusku, yang mau copy tugas kampus C++, q taruh di sini aja, habisnya capek, di datengin terus ke kosan hehehehehehe, ga bawa oleh2 juga, emangnya enak di mintai tugas mulu, Capek Deh!!!!!!!!!!!!!!!!!!!!!
Baca lebih lanjut

Akatsuki Biography

In the manga and anime series Naruto, the Akatsuki is a criminal organization, first introduced midway into the first arc, and gaining greater significance in the storyline in the second arc. All that is known thus far is that the Akatsuki consists of nine S-class wanted criminals, and that they show great interest in the powers of the Bijuu (Tailed Beasts). Admission criteria to the group is unknown, but Kage-level fighting ability seems to be a prerequisite. Other requisites are currently unknown, but joining seems to involve the rings worn by Akatsuki members. Each member has a partner with the exception of Zetsu. Baca lebih lanjut

Naruto Character Biographies

Naruto Stats
Age: 12 at the start of the series
Eye color: Blue
Hair color: Blonde
Birthday: 10th of October
Birth place: Konoha (Hidden Leaf)
Blood type: B
Hobbies: Playing pranks, Eating Ramen.

Biography
He is the little man with a big dream. He becomes friends with his teammates Sasuke and Sakura, but to his villagers, he is only known as the mischief with the demon fox living inside his belly. All through Naruto’s life, he was neglected and treated like an outsider. That is why his dream is to become the hokage of Konoha-gakure, and be acknowledge by all those people that disregarded him. One thing that the other genin do know, is that he will never give up until he obtains his dream. Baca lebih lanjut

Naruto Advanced Bloodlines

Naruto Bloodline Limits – Kekkei Genkai
This name classifies a genetic trait or ability passed down through generations of members of a certain clan. Since the ability can only be inherited through blood, others cannot imitate it through any other means. Baca lebih lanjut