BAGAIMANA CARA MEMBUAT PAKET HARGA SALON :
c++ :
#include <iostream>
using namespace std;
main(){
int p1,p2,p3,p;
cout<<"mencari harga paket "<<endl;
cout<<"masukkan harga";
p1=100000;
p2=200000;
p3=40000;
cout<<"masukkan paket=";
cin>>p;
if(p<=1){
cout<<"paket facial="<<p1;
}
else if(p=2){
cout<<"paket body lotion="<<p2;
}
else if(p=3){
cout<<"paket anti again="<<p3;
}
else{
cout<<"paket salah"<<endl;
}
}
output c++ dan raptor:
0 komentar:
Posting Komentar