Tugas b.inggris w
EXERCISE 1
1. Phillis / purchased
2. Phillis / learned
3. Her mistress / impressed
4. She / wrote
5. her / published.
6. her / spread
EXERCISE 2
1. C
2. C
3. C
4. NC
5. NC
6. NC
EXERCISE 3
1. (C)
2. (B)
3. (A)
4. (B)
5. (D)
6. (A)
EXERCISE 4
1. (B)
2. (A)
3. (D)
4. (A)
5. (C)
4. Exercise on Parts of a Sentence
1. (A)
2. (C)
3. (B)
4. (D)
5. (A)
6. (B)
7. (D)
8. (D)
9. (B)
10. (D)
11. (A)
12. (A)
Program For
fungsi for ngejalanin nya pake visual studio
nich source codenya
//program for
#include
using namespace std;
void main(void)
{
for(int I=1;I<10;I++)
{
cout<}
}
contoh program mementukan pilihan
#include
using namespace std;
void main(void)
cout<<"1. Menghitung Celcius."<
cout<<"Masukan Nilai Suhu Yang Ingin dihitung :";
cin>>s;
cout<<"Masukan Pilihan Menu Anda :";
cin>>m;
f=s*2.25+32;
c=s*1.25;
if(m==1)
cout<<"Celcius :"<
if(m==2)
cout<<"Fahrenhait :"<
menghitung luas segi empat
#include
using namespace std;
void main(void)
int panjang,lebar,luas,kkl;
cout<<"menghitung luas segi empat"<
cin>>panjang;
cout<<"masukan lebar: ";
cin>>luas;
luas=(panjang*luas);
kkl=2*(panjang*luas);
cout<<"luas= "<
membuat rumus reanmur dengan visual studio 2008
#include
using namespace std;
void main(void)
{
double F,C,R;
cout<<"input reanmur: ";
cin>>R;
F=R*2.25+32;
C=R*1.25;
cout<<"fraenhait: "<
Tugas alogritma menghitung bujur sangkar
Contoh program menghitung luas bujur sangkar
#include
#include
#include
luas(float sisi);
main()
{
float luas_bs, sisi_bs;
clrscr();
cout<<"\nMenghitung Luas Bujur Sangkar"<
cout<<"\nMasukan Nilai Sisi Bujur Sangkar : ";
cin>>sisi_bs;
luas_bs = luas(sisi_bs);
cout<<"\nLuas Bujur Sangkar = "<
getch();
}
luas(float sisi)
{
return(sisi*sisi);
}
tugas kul ku
TEKNIK INFORMATIKA UNPAM
Contoh program sederhana pada sebuah cafe
#include
#include
#include
main()
{
char kd;
char mn,menu[20];
long int hrg,byr,ppn,ttl,u_byr,u_kembali,byk;
clrscr();
cout<<"***cafe star dacil***"<
cout<<"============================================="<
cout<<"A. menu minuman "<
cout<<" 1.kopi mocca "<
cout<<" 2.kopi tubruk "<
cout<<" 3.bir pletok "<
cout<<"B. menu makanan tradisional "<
cout<<" 1. kerak telor "<
cout<<" 2. gado-gado "<
cout<<" 3. tahu gejrot "<
cout<<"C. menu makanan modern "<
cout<<" 1. burger blenger "<
cout<<" 2. pizza "<
cout<<" 3. spageti "<
cout<<"\nMasukan Jenis menu [A/B/C] :";cin>>kd;
cout<<"\nMasukan pilihan menu [1/2/3] :";cin>>mn;
cout<<"\nBanyak Beli :";cin>>byk;
if(kd=='A'||kd=='a')
{strcpy(menu,"minuman");
if(mn=='1')hrg=15000;
else if(mn=='2')hrg=26000;
else hrg=45000;}
else if(kd=='B'||kd=='b')
{strcpy(menu,"makanan tradisional");
if(mn=='1')hrg=17000;
else if(mn=='2')hrg=12000;
else hrg=5000;}
else
{strcpy(menu,"makanan modern");
if (mn=='1')hrg=250000;
else if(mn=='2')hrg=38000;
else hrg=70000;}
cout<<"Menu :"<
cout<<"Harga :"<
byr=hrg*byk;
cout<<"Pembayaran :"<
ppn=0.1*byr;
ttl=byr+ppn;
cout<<"PPN :"<
cout<<"Total Bayar :"<
cout<<"Uang Bayar :";cin>>u_byr;
u_kembali=u_byr-ttl;
cout<<"Uang Kembali :"<
cout<<"Terima Kasih Telah berkunjung"<
getch();
}
si Qinuz
My inspiration
Link Informatika UNPAM
My Profil Q
- dacil qinuz naga
- Tangerang, Banten, Indonesia
- mahasiswa TI universitas pamulang semester II dan berusaha menjadi seorang ahli TI dan Progremer