#include <stdio.h>
int main() 
{
float a ;
printf("ENTER THE AMOUNT:\n");
scanf("%f",&a);
    if(a>=1000)
{
printf("DISCOUNT PERCENTAGE=10%\n");
}
else
{
printf("DISCOUNT PERCENTAGE= 5%\n"); 
}
return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: