prog.c: In function ‘main’:
prog.c:7:9: warning: too many arguments for format [-Wformat-extra-args]
printf("Enter the price in dollars:",Price);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.c:11:9: warning: too many arguments for format [-Wformat-extra-args]
printf("Enter State sales tax:",SalesTax);
^~~~~~~~~~~~~~~~~~~~~~~~
prog.c:15:2: error: ‘SetPrice’ undeclared (first use in this function)
SetPrice = Price + (Price * SalesTax);
^~~~~~~~
prog.c:15:2: note: each undeclared identifier is reported only once for each function it appears in
prog.c:17:17: error: expected ‘)’ before ‘Price’
printf("Write "Price with Tax is" + Price: %f \n", SetPrice);
^~~~~
prog.c:5:25: warning: unused variable ‘SetTax’ [-Wunused-variable]
float Price, SalesTax, SetTax;
^~~~~~