Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdlib.h>
- using namespace std;
- int main()
- {
- char pel[20];
- int jumlah;
- cout<<"=================================================================="<<endl;
- cout<<"\t\t\t-- BUTIK LAUNDRY --\t\t\t"<<endl;
- cout<<"=================================================================="<<endl;
- cout<<endl;
- cout<<endl;
- cout<<"Masukan Banyaknya pelanggan = ";cin>>jumlah;
- cout<<"=================================================================="<<endl;
- for(int kounter=0;kounter<jumlah;kounter++){
- cout<<"Pelanggan "<<kounter+1<<" Seberat = Kg.";cin>>pel[kounter];
- }
- cout<<endl;
- cout<<"=================================================================="<<endl;
- for(int kounter=0;kounter<jumlah;kounter++){
- cout<<"Pelanggan "<<kounter+1<<"\t\t";
- }
- cout<<endl;
- cout<<"=================================================================="<<endl;
- cout<<endl;
- for(int kounter=0;kounter<jumlah;kounter++){
- cout<<"Seberat "<<pel[kounter]<<"Kg"<<"\t\t";
- }
- cout<<endl;
- cout<<"=================================================================="<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement