#include
#include
/* Programmed by Harvey Losin *//* http://www.bikoy.com/harvey *//* webmaster@bikoy.com */
main()
{
int a;char d,p;
const DeLuxe=40,Premeire=60;
clrscr();printf("\n\n\tDeLuxe=P=40");
printf("\n\n\tPremeire=P=60");
printf("\nWhat place in the moviehouse would you prefer to watch?
d=getche();d=toupper(d);
if(d=='D'){printf("\nHow many of you are going to watch?");
scanf("%d", &a);printf("\n\nThe amount your going to pay is =P= %d",DeLuxe*a);
}
else if(d=='P'){printf("\nHow many of you are going to watch?");
scanf("%d", &a);
printf("\n\nThe amount your going to pay is =P= %d",Premeire*a);
}
else
{
printf("\n\nThe letter you press is wrong");
}
getch();
}