0

PROGRAM PERHITUNGAN KASIR MENGGUNAKAN BAHASA PEMROGRAMAN C++

Minggu, 30 September 2012

Hello, wr. wb. In this post I will write about the "CASHIER CALCULATION PROGRAM LANGUAGE PROGRAMMING USING C + +". Of course we all know about the cashier right? We also know what the cashier. Yes, the cashier on duty to count many of the ingredients along with the price of groceries and the cashier also served as the place of payment. However, the program also can be applied to the calculation of the cash register using the programming language C + +.
For more details, we simply make the program. Here are the steps:
1. Open a Turbo C + + applications.
2. Select the file, then select new.


3. Type the following code:
/ / SAMPLE PROGRAM CASHIER
# include
# include
void main ()
{
int BYKB, JLHU;
HS float, JML, back next;
printf ("+ ----------------------------- + \ n");
printf ("| RAYHAN | \ n");
printf ("| sample program counter | \ n");
printf ("+ ----------------------------- + \ n \ n");
printf ("Enter the number of items =");
scanf ("% d", & BYKB);
printf ("Enter the Price of Goods =");
scanf ("% f", & HS);
QTY = BYKB * HS;
printf ("Total Pay You =% f", JML);
printf ("\ n ============================");
printf ("\ n Total Money ="); scanf ("% d", & JLHU);
back next = JLHU-JML;
printf ("Returned Your =% f", back next);
}

4. Select Debug and then Run.
5. Enter the quantity and price of goods.http://dianasaputri6.blogspot.com/2012/03/program-perhitungan-kasir-menggunakan.html

Sample Text

You can replace this text by going to "Layout" and then "Page Elements" section. Edit " About "

Recent Posts

About

Blogger news

Blogger templates

flag visit

free counters

Popular Posts

Followers