SuperTutor

(15)

$15/per page/Negotiable

About SuperTutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Business & Finance See all
Accounting,Business & Finance,Economics,Engineering,HR Management,Math Hide all
Teaching Since: Apr 2017
Last Sign in: 234 Weeks Ago
Questions Answered: 12843
Tutorials Posted: 12834

Education

  • MBA, Ph.D in Management
    Harvard university
    Feb-1997 - Aug-2003

Experience

  • Professor
    Strayer University
    Jan-2007 - Present

Category > Programming Posted 10 Jul 2017 My Price 10.00

C programing code

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: %fn", set_price);

 

return 0;

}

Answers

(15)
Status NEW Posted 10 Jul 2017 06:07 AM My Price 10.00

-----------

Attachments

file 1499669628-Solutions file.docx preview (51 words )
S-----------olu-----------tio-----------ns -----------fil-----------e -----------Hel-----------lo -----------Sir-----------/Ma-----------dam----------- T-----------han-----------k y-----------ou -----------for----------- yo-----------ur -----------int-----------ere-----------st -----------and----------- bu-----------yin-----------g m-----------y p-----------ost-----------ed -----------sol-----------uti-----------on.----------- Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m o-----------nli-----------ne -----------or -----------inb-----------ox -----------me -----------a m-----------ess-----------age----------- I -----------wil-----------l b-----------e q-----------uic-----------kly----------- on-----------lin-----------e a-----------nd -----------giv-----------e y-----------ou -----------exa-----------ct -----------fil-----------e a-----------nd -----------the----------- sa-----------me -----------fil-----------e i-----------s a-----------lso----------- se-----------nt -----------to -----------you-----------r e-----------mai-----------l t-----------hat----------- is----------- re-----------gis-----------ter-----------ed -----------onÂ----------- th-----------is -----------web-----------sit-----------e -----------Tha-----------nk -----------you----------- -----------
Not Rated(0)