C
C
h>
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<windows.h>
for(int i=0;i<=n;i++){
cetak c;
int kode,qty,price,st,disk,total,nominal;
char list[25];
b(45,'=');
b(45,'=');
cetak endl<<endl<<endl;
b(10,'*');
b(10,'*');
b(45,'_');
cetak endl<<endl;
cetak "Pick your Fav earrings < 1 / 2 / 3 / 4 / 5 > : "; input kode;
switch(kode){
b(45,'_');
cetak endl;
st=qty*price;
if(qty>=5){
disk=st*10/100;
}else{
disk=0;
total=st-disk;
cetak "subtotal\t: "<<st<<endl;
b(45,'_');
cetak endl<<endl<<endl<<endl;
char x[]="*** thx for coming to my shop, have a nice day ***\n";
int a,b,i,n;
n=strlen(x);
for(a=0; a<500000;a++){
for(b=0; b<500;b++){
printf("%c",x[i]);
getch();