Profile Facebook => http://www.facebook.com/Ariyanto1994
Cari Blog Ini
Senin, 30 Desember 2013
PROGRAM DEV C++ UNIVERSITAS ESA UNGGUL (UEU) BY ARIYANTO ADHI 201383074
PROGRAM MENGHITUNG LUAS SEGITIGA
#include<iostream>
#include<conio.h>
using namespace std;
main()
{
int a,t,hasil;
cout<<"=====================================\n";
cout<<"PROGRAM MENGHITUNG LUAS SEGITIGA\n";
cout<<"=====================================\n";
cout<<"ALAS=";
cin>>a;
cout<<"TINGGI=";
cin>>t;
hasil=(a*t)/2;
cout<<"HASILNYA ADALAH="<<hasil;
getch();
}
PROGRAM MENGHITUNG BILANGAN KELIPATAN 4
#include<iostream>
#include<conio.h>
using namespace std;
main()
{
cout<<"=====================================\n";
cout<<"\nPROGRAM MENGHITUNG BILANGAN KELIPATAN 4\n";
cout<<"=====================================\n";
ulang:
int A,hasil;
cout<<"Masukkan Bilangan=";
cin>>A;
hasil=A%4;
if(hasil==0)
cout<<"Bilangan Kelipatan 4\n";
else
cout<<"Bukan Bilangan Kelipatan 4\n";
getch();
goto ulang;
}
PROGRAM BILLING WARNET
#include<iostream>
#include<conio.h>
using namespace std;
main()
{
cout<<"==============WELCOME==============\n";
cout<<"===========WARNET BORLAND==========\n";
int jam_sewa,kd_member,kd_vip;
float biaya,diskon,bayar,total;
biaya=3000;
diskon=0;
cout<<"Masukkan lama jam sewa=";
cin>>jam_sewa;
cout<<"Masukkan kode member=";
cin>>kd_member;
cout<<"Masukkan kode VIP=";
cin>>kd_vip;
bayar=jam_sewa*biaya;
if(jam_sewa>=0,5)
if(kd_member==1)
{
cout<<"Anda Mendapat Diskon Sebesar : 1%";
diskon=biaya*1/100;
}
else if(jam_sewa>=1)
if(kd_member==1)
{
cout<<"Anda Mendapat Diskon Sebesar : 1.5%";
diskon=biaya*1.5/100;
}
else if(jam_sewa>=6)
if(kd_member==1)
{
cout<<"Anda Mendapat Diskon Sebesar : 12%";
diskon=biaya*12/100;
}
else if(jam_sewa>3)
if(kd_vip==2)
{
cout<<"Anda Mendapat Diskon Sebesar : 6.25%";
diskon=biaya*6.25/100;
}
else
{
cout<<"Anda Mendapat Diskon Sebesar : 2.63%";
diskon=biaya*2.63/100;
}
else if(jam_sewa>=0.5)
if(kd_vip==2)
{
cout<<"Anda Mendapat Diskon Sebesar : 1%";
diskon=biaya*1/100;
}
else
cout<<"Anda tidak mendapatkan diskon";
total=biaya*diskon;
cout<<"\nbiaya sewa sebelum didiskon:"<<biaya<<endl;
cout<<"\nbiaya sewa setelah didiskon:"<<total<<endl;
getch();
}
PROGRAM MENCARI BILANGAN GANJIL DAN KELIPATAN
#include <iostream>
#include <conio.h>
using namespace std;
main()
{
int i,d;
for(i=1;i<=13;i=i+2) {
cout<<i<<" ";
}
cout<<endl<<endl;
for(i=1;i<=7;i++) {
d=i*i;
cout<<d<<" ";
}
getch();
}
FUNGSI SWITCH DAN CASE
#include<iostream>
#include<conio.h>
using namespace std;
main()
{
char kdmenu;
cout<<"Masukkan Kode Menu[1-5]:";
cin>>kdmenu;
switch(kdmenu)
{
case '1':
cout<<"Mie Goreng Gila";
cout<<"\nEs Teh Manis";
cout<<"\nharga Rp.14000";
break;
case '2':
cout<<"Ayam Goreng";
cout<<"\nJus Jeruk";
cout<<"\nharga Rp.15000";
break;
case '3':
cout<<"Nasi Kuning";
cout<<"\nAir Putih";
cout<<"\nharga Rp.12000";
break;
case '4':
cout<<"Fried Chiken";
cout<<"\nCoca Cola";
cout<<"\nharga Rp.20000";
break;
case '5':
cout<<"Ayam Bakar";
cout<<"\nRoot Beer";
cout<<"\nharga Rp.17000";
break;
default:
cout<<"Kode Yang Anda Masukkan Salah";
}
getch();
}
PROGRAM KALKULATOR PENJUMLAHAN, PENGURANGAN, PERKALIAN, DAN PEMBAGIAN
#include<iostream>
#include<conio.h>
using namespace std;
int h,i,j,k,l,m;
void input()
{
cout<<"Masukkan Bilangan 1:";
cin>>h;
cout<<"Masukkan Bilangan 2:";
cin>>i;
}
void tambah()
{
j=h+i;
cout<<"Hasil Penjumlahan="<<j<<endl;
}
void kurang()
{
k=h-i;
cout<<"Hasil Pengurangan:"<<k<<endl;
}
void bagi()
{
l=h/i;
cout<<"Hasil Pembagian:"<<l<<endl;
}
void kali()
{
m=h*i;
cout<<"Hasil Perkalian:"<<m<<endl;
}
main()
{
input();
tambah();
kurang();
bagi();
kali();
getch();
}
PROGRAM KALKULATOR MENGHITUNG "SISI & LUAS PERSEGI, LUAS SEGITIGA, DAN LUAS LINGKARAN
#include<iostream>
#include<conio.h>
using namespace std;
int s,a,t,r,Luas;
void persegi()
{
cout<<"\n=================================\n";
cout<<"\nMasukkan Sisi Persegi=";
cin>>s;
Luas=s*s;
cout<<"\nLuas Persegi="<<Luas;
}
void segitiga()
{
cout<<"\n=================================\n";
cout<<"\nMasukkan Alas Segitiga=";
cin>>a;
cout<<"\nMasukkan Tinggi Segitiga=";
cin>>t;
Luas=(a*t)/2;
cout<<"\nLuas Segitiga="<<Luas;
}
void lingkaran()
{
cout<<"\n=================================\n";
cout<<"\nMasukkan jari-jari lingkaran=";
cin>>r;
Luas=3.14*(r*r);
cout<<"\nLuas Lingkaran="<<Luas;
}
main()
{
persegi();
segitiga();
lingkaran();
getch();
}
PROGRAM ARRAY DIMENSI 1
#include<iostream>
#include<conio.h>
using namespace std;
void input(int K[5])
{
for (int c=1;c<=5;c++)
{
cout<<"Gaji Karyawan ke-"<<c<<"=";
cin>>K[c];
}
}
void baca(int d[5])
{
for (int c=1;c<=5;c++)
{
cout<<"Gaji Karyawan ke-"<<c<<"="<<d[c]<<endl;
}
}
int main()
{
int d[5];
cout<<"input data"<<endl;
cout<<"============="<<endl;
input(d);
cout<<"\n\nbaca data"<<endl;
cout<<"============="<<endl;
baca(d);
getch();
}
PROGRAM MENGHITUNG BILANGAN KELIPATAN 4
#include<iostream>
#include<conio.h>
using namespace std;
main()
{
cout<<"=====================================\n";
cout<<"PROGRAM MENGHITUNG BILANGAN KELIPATAN 4\n";
cout<<"=====================================\n";
ulang:
int A,hasil;
cout<<"Masukkan Bilangan=";
cin>>A;
hasil=A%4;
if(hasil==0)
cout<<"Bilangan Kelipatan 4\n";
else
cout<<"Bukan Bilangan Kelipatan 4\n";
getch();
goto ulang;
}
Cheat ZENONIA ZEN With HEX EDITOR
hack zen zenonia 1/2/3 zenonia 4 and 5
1.download hex editor (you can download in market)
2.open hex editor
3.choose "open file"
4.then select "data/data/com.gamevil.zenonia3.global/files/option.sav"
5.search address 000001ea then click it
6.change all value to 99
7.then click "save file"
8.open zenonia 3
9.taraaaa, look at your zen 9M+
if your zen was exhausted then do it again
NB:your phone must root (search in google)
1.download hex editor (you can download in market)
2.open hex editor
3.choose "open file"
4.then select "data/data/com.gamevil.zenonia3.global/files/option.sav"
5.search address 000001ea then click it
6.change all value to 99
7.then click "save file"
8.open zenonia 3
9.taraaaa, look at your zen 9M+
if your zen was exhausted then do it again
NB:your phone must root (search in google)
Sabtu, 05 Januari 2013
Langganan:
Postingan (Atom)