Home
About
Contact
Home
Features
_Perangkat Ajar
__SD
__SMP
__SMA
_Bahan Ajar
_Kurikulum 2013
_Kurikulum Merdeka
Mega Menu
Grade
_SD
_SMP
_SMA
_SMK
Bank Soal
_Latihan
_UAS
_Ulangan
_ANBK
_UTS
_UNBK
_TKA
_Try Out
Home
All Post
Nested IF (C++)
Nested IF (C++)
arlicious
Sunday, March 03, 2013
Program Penjualan Tiket Konser dengan C++
//File Header #include
#include
#include
#include
// fungsi untuk menampilkan loading sementara void loading() { cout<
>kdkonser; ulangjenis: cout<
>tiket; //Percabangan if (kdkonser=='1') { strcpy(judul,"Java Jazz Festival"); if (tiket=='1') {harga=50000; strcpy(jenis,"Tribune");} else if (tiket=='2') {harga=75000; strcpy(jenis,"VIP");} else if (tiket=='3') {harga=100000; strcpy(jenis,"VVIP");} else { cout<<"==========================================="<
>jumlah; total=jumlah*harga; if (jumlah>5) {diskon = 0.1*total ;} else {diskon = 0 ;} totalbyr=total-diskon; //Output clrscr(); cout<<"================================================"<
>uangbyr; if (uangbyr < totalbyr) { cout<
>lagi; if (lagi=='Y' || lagi=='y') {goto atas;} else if (lagi=='N' || lagi=='n') clrscr(); cout<
Download Via
4Shared
or
Mirror
Post a Comment
1 Comments
Unknown
said…
gila lu min bener bener gila ! hahaha tnks bro
Subscribe Us
Ad Space
Most Popular
Top 10 Online Platforms to Learn Python in 2025 🐍
Friday, October 10, 2025
📡 Peran Informasi & Komunikasi dalam Pendidikan Digital
Wednesday, October 15, 2025
Implementasi Smart Classroom: Apa yang Diperlukan Sekolah 📚💡
Thursday, October 16, 2025
Social Plugin
Labels
.apk
1
All Post
285
AMIK
2
Bahasa Inggris
1
Blogging
2
Broadcasting
2
DKV
2
Download
2
Ebook
1
Event
2
Flash
3
Gallery
1
Hosting
1
HTML
1
HTML5
1
Informatika
7
JAVA
1
Javascript
1
Kalkulus
2
Kampus
4
Kelas 7
1
Kelas 8
1
Kelas 9
5
Kuliah
6
Latihan Soal
11
Lyrics
1
Motivasi
1
Myself
20
MySql
1
Pascal
1
Pendidikan
2
Perancangan Sistem
1
Photo
1
Place
1
Posters
8
Programming
3
PTI
1
Random
201
RPL
4
S1H
5
SD
8
SIJA
1
Sistem Informasi
1
Sistem Pakar
1
sm
1
SMA
3
SMK
12
SMP
10
Teknik Informatika
2
Teori
1
TIK
7
TKJ
3
Tugas Akhir
10
UNINDRA
1
Visual Basic
4
Pageviews last month
Blogger Friends
Contact form
1 Comments