וואי תודה אבל זה לא מה שאני צריך
נעשה משהו אחר אני אתן לך תקוד שאני מנסה להריץ ותראה מה לא טוב
#include <stdio.h>
#include <conio.h>
void main (void)
{
int price,mispar;
float discount, Newprice;
printf("Pls enter the price of the umbrella/n/n");
scanf(%d, &price);
printf("Pls enter the no. of umbrelas/n/n ");
scanf(%d, &mispar);
printf("Pls enter the discount/n/n ");
scanf(%f, &discount);
Newprice= price-(price*discount/100);
printf("The total price for one umbrella after discount is : %d/n/n ", Newprice*mispar));
getch();
}