Ughe

Desember 22, 2008

program memunculkan bintang dalam C++

Filed under: Uncategorized — ughe @ 1:36 pm

#include <iostream.h>
#include <stdio.h>
#include <conio.h>
main()
{
//clrscr();
int i ,j, baris;

cout<<“masukkan jumlah baris “;cin>>baris;

for(i=0; i<=baris; i++)
{
for (j=1; j<=i; j++)
{
cout<<“*”;
}
cout<<endl;
}

cout <<endl<<endl;

for(i=0; i<=baris; i++)
{
for (j=baris; j>=i; j–)
{
cout<<“*”;
}
cout<<endl;
}
getch();
}

November 11, 2008

The ABC off happiness

Filed under: Uncategorized — ughe @ 9:27 am

Aspire to reach ur potencial
Believe in ur self.
Create a good life.
Dream about what u might become.
Exercise frequenty.
Forgive honest mistakes.
Glory the creative spirit.
Humor ur self and other.
Imagine great things.
Joyfully live each day.
Kindly help others.
Love one another.
Mediate dialy.
Nurture the environment.
Organiza for hamonius action.
Praise performance well done.
Question most thinks.
Regulate ur own behavior.
Smile often.
Think rationally.
Understand ur self.
Value live.
Work for the common good.
X-ray and carefully exmine problems.
Yearn to improve.
Zestfully pursue happiness.

Buat situs web atau blog gratis di WordPress.com.