Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

using this C programing code I have trouble getting an output

using this C programing code I have trouble getting an output (which

should be the solution of price with tax)… Why am I not getting an output wtih my code?

///C code
//this program will calculate the set price of an object.
//developer: UMUCstudent
//date: 25 June, 2017
#include <stdio.h>

int main()
{
/*variable definition: */
float set_price, price, sales_tax;
/*promt user for price */
printf(“Enter price in dollars: 253.00 \n”);
//input price
scanf(“%f”, &price);
/*prompt user for sales_tax */
printf(“enter state sales_tax: .06 \n”);
//Input sales_tax
scanf(” %f”, &sales_tax);
//calculate the sales_tax = price + (price * sales_tax);

//Input set_price
printf(“price with tax is: %f\n”, set_price);

return 0;
}

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"