#include<stdio.h>
#include<conio.h>
void main()
{
float n1,n2;
clrscr();
printf("enter value");
scanf("%f", &n1);
if(n1>=5000)
{
n2=(n1*15)/100;
printf("discount allowed=%f",n2);
printf("total price=%f",n1-n2);
}
else printf("no discount");
getch();
}