English lesson

English lesson

Dialogue part one :

sance  : hi mate ,remember me?
Ricard : sorry ,who are you.
sance  : i'm sance.
ricard : oh ,sance
sance  : yes you'right,glad to meet you here
ricard : me too , Hi sance,How are you
sance  : i'm very well and how about you
ricard : i'm fine, can i ask to you about my study.
sance  : yes,i can
ricard : How i can use the present continuous tense

sance  : we use the present continuous when we talk about something happening
    at the time of speaking for example they are studying now
ricard : ok,i understand,and what is the difference between house and home
sance  : House is a physique,and home is not a physique,for example
    this is my house,example of home are : home sweet home,take me home,home work,broken home,homesick,
    etc,,we use the word home because we don't refer to the physique.
ricard : thank you for your explanation.
sance  : not at all..see you again dont forget give myregard to your family
ricard : ok,bye
 

TUGAS PART 1

WELCOME IN MY BLOG SANCE.....


langsung aja , silahkan ctrl+c kodingan dibawah kemudian ctrl+v pada borland
lebih baik jangan pakai klik kanan agar mempermudah pastenya diborlan :


Contoh 1 :

#include<stdio.h>
#include<conio.h>
#include<iostream.h>
main()
{
printf("Nama pembeli  : SANCE\n");
printf("Jumlah barang : 12,000\n");
printf("Total         : 12,000\n");
getch();
}


setelah kodingan dipaste jalankan diborlan caranya klik debug  = > Run  pada borland


jika berhasil tampilannya sbb:




Contoh 2 :


#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<iostream> //library input output stream, yang digunakan untuk support cout dan cin
#include<Windows.h>

 main( ) {
 system("color a");
   char  nama[15];//,harga[15],jBeli[20]kode[20]
   int nilai1,nilai2,total;
   clrscr( );
   cout<<"--------------------------------------\n";
   printf("\tToko Mobil Modern\n");cout<<"--------------------------------------\n";
   printf("\n\n");

   printf("Masukan Nama Pembeli : ");scanf("%s",&nama);
   //printf("???   : ");scanf("%s",&kode);
   //printf("?????        : ");scanf("%s",&?a);
     //printf("??  : ");scanf("%s",&?;
       cout<<"Masukan Harga        : ";cin>>nilai1;
       cout<<"Masukan Jumlah Beli  : ";cin>>nilai2;

     printf("\n\n");       //   Masukan Jumlah Beli



   cout<<"--------------------------------------\n";
   printf("\tNota Penjualan\n");cout<<"--------------------------------------\n";
            printf("\n\n");
   printf("Nama Pembeli : %s", nama);  printf("\n");
  // cout<<"?????   : "<<???;                printf("\n");
 // printf("?  : %s",?);   printf("\n\n");
   // cout<<"?  : "<<?;                printf("\n");
     cout<<"Jumlah Mobil : "<<nilai1; printf("\n");
      cout<<"Jumlah Beli  : "<<nilai2; printf("\n");
      total=nilai1*nilai2;
      cout<<"Total        : "<<total<<endl;
      printf("\n\n");
      printf("\n\n");
      printf("Terimakasi atas pemesanannya, ");printf("\n");
      printf("Pesanan anda akan segera diproses ......");


   getch( );
}



setelah kodingan dipaste jalankan diborlan caranya klik debug  = > Run  pada borland






ket:
anda bisa mengedit nama,warna dll.
cara mengeditnya ganti
system("color a"); menjadi system("color 4"); dll
untuk warna :


a = light green
b = light aqua
c = light red
d = light purple
e = light yellow
f = bright white

dll

0 = Black
1 = blue
2 = green
3 = aqua
4 = red
5 = purple
6 = yellow
7 = white
dll

anda juga bisa mengkombinasi

misalnya
11 = ?
12 = ?
76 = ?


Good luck......