======================================================================================================================================================= AbimaelZONE AbimaelZONE AbimaelZONE AbimaelZONE AbimaelZONE AbimaelZONE AbimaelZONE
====================================================================================================================
==========================================================================================================================================
JANGAN LUPA KUNJUNGI TERUS ABIMAELZONE DAN FOLLOW UNTUK SELALU MENDAPATKAN UPDATE TIPS DAN TRIK TERBARUTERIMA KASIH TELAH BERKUNJUNG DI ABIMAEL ZONE
Home » , » Program Kasir Sederhana Menggunakan C++

Program Kasir Sederhana Menggunakan C++

Abimael | Thursday, June 27, 2013 | 1 comments
Wah udah Lama ga postinga nih hehehe, Malam ini saya Ingin Posting tentang Membuat Program Kasir yang sederhana dengan C++

Ini program masih sederhana , semoga bisa membantu anda.
langsung aja di lihat codingan progamnya


PROGRAM KASIR 
#include <stdio.h>
#include <conio.h>
#include <iostream.h>

void main ()

{
float hb,jb,uk = 0,ut,total = 0;
char nb[15];
char pil;
clrscr();

pilihlagi:
cout<<"========================================="<<endl;
cout<<  "*** PROGRAM KASIR ***"<<endl;
cout<<"========================================="<<endl;
cout<<"Masukan Nama Barang : ";
cin>>nb;
cout<<"Harga Barang : ";
cin>>hb;
cout<<"Jumlah Barang : ";
cin>>jb;
total = jb * hb  ;
cout<<"\n";
cout<<"========================================="<<endl;
cout<<"Nama Barang   : " <<nb<<endl;
cout<<"Harga Barang  : " <<hb<<endl;
cout<<"Jumlah Barang : " <<jb<<endl;
cout<<"Total Yang Harus Dibayar   : " <<total<<endl;
cout<<"========================================="<<endl;


cout<<"Masukan Uang yang diterima : "; cin>>ut;
uk = ut - total ;
cout<<"Uang Yang di Kembalikan    : " <<uk<<endl;
cout<<"       Terimakasih Telah Berkunjung       ";
cout<<"\n";
cout<<"Mau Melakukan Transaksi Lagi(Y/T) ? ";
cin>>pil;
if(pil == 'Y' || pil == 'y')
{
clrscr();
goto pilihlagi;}
else
cout<<"\n";
 cout<<"       Terimakasih Telah Berkunjung       ";
cout<<"\t\tCreated by AbimaelBilly";
}








JIKA MAU MENGCOPY POSTINGAN INI HARAP CANTUMKAN SUMBERNYA ! TERIMAKASIH
Share this article :

1 comments :

obat infeksi jamur vagina said...

makasih banyak buat infonya,, sanngat bermanfaat dan menambahwawasan

Post a Comment

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. AbimaelZone - All Rights Reserved
Template Modify by Creating Website
Proudly powered by Blogger