This is default featured post 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured post 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Sabtu, Oktober 20, 2012

Penghitung Hari dengan C++

Membuat Program penghitung hari keberapa yang dihitung mulai dari awal tahun. Menggunakan fungsi if dan switch....case.
contoh kasus
Input : tahun 2004
Input : bulan 3
Input : tanggal 1
Output : Hari ke 61

Contoh penulisan code dengan bahasa C++ :

Penghitung Lama Waktu dengan C++

Membuat program penghitung lama waktu dengan C++ dengan menggunakan fungsi IF..
contoh kasus
Input : jam 12
Input : menit 30
Input : Jam 13
Input : menit 40
Output : lama 70 menit
Output : lama 1 jam 10 menit

Berikut penulisan code dengan bahasa C++ :

Penulisan Tanggal dengan C++

Penulisan format tanggal dalam C++ dengan menggunakan fungsi switch....case.
Contoh kasus :
Input : tanggal 13
Input : bulan 3
Input : tahun 1993
Output : 1 Maret 1993

Penulisan code dengan C++ sebagai berikut :

Menentukan Tahun Kabisat dengan C++

Menentukan apakah tahun yang diinputkan termasuk tahun kabisat atau bukan. Dengan menggunakan code C++.
Contoh kasus
Input : 2004
Output : 2004 Tahun Kabisat

Berikut source code :

Menentukan Bilangan Prima dengan C++

Menentukan bilangan prima menggunakan fungsi dari IF pada C++.Jadi jika menginputkan bilangan bulat berapapun nanti akan dikoreksi apakah bilangan itu merupakan bilangan prima atau bukan. Contoh Kasus
 Input : 16  
Output : 16 Bukan Bilanan Prima.

berikut contoh conding dengan C++ :

Twitter Delicious Facebook Digg Stumbleupon Favorites More