Kat H.

asked • 04/05/21

Orders from a company that cost $100 or more get a 10% discount. Orders less than $100 do not get a discount.

C++.


Read in an decimal value representing the undiscounted order price, and print out what the order should cost.

Just print the value - do not add a $ or try to make it look like money.


Code:


#include <iostream>

using namespace std;


int main()

{

//YOUR_CODE

}

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.