1
The user has to give a value that would be the price of the product and a value that would be the discount
When it comes to giving the ultimate value I can’t I’ve tried some things
#include <stdio.h>
int main ()
{
float preco, desc, end;
printf("Qual o valor da compra? ");
scanf("%f", &preco);
printf("Qual o valor do desconto? ");
scanf("%f", &desc);
end = preco / desc;
printf("O valor final e: %f", end);
}