#include <stdio.h>
#include <stdlib. h>
int main ()
{
float montant, remise, total;
printf("entrer un montant: ");
scanf("%f",&montant);
if (montant>=500){
printf(" remise=10%");
}
else{
printf("remise=0%%");
}
printf("montant=%2f",montant);
printf("remise=%2f",remise);
printf("montant*remise=2f", montant,remise,total);
total =montant*remise=%%
systeme("pause");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: