#include <stdio.h>
#include <stdlib.h>
main()
{
int unit_price=100;
int Total_price=0,Qty=0;
printf("Input Qty to buy :");
scanf("%d",&Qty);
if (Qty>10)
printf("You have to pay $%d\n",(Qty*90));
else
{
Total_price=Qty*unit_price;
printf("You have to pay $%d\n",Total_price);
}
system("pause");
}