Question: c++ 2. Write a program that will ask the user for the number of apples they wish to purchas apple and the tax in percent.

c++
c++ 2. Write a program that will ask the user for the

2. Write a program that will ask the user for the number of apples they wish to purchas apple and the tax in percent. Have your program output the total price including tax. Note: that any currency should be formatted to two decimal places and should have a dollar sign appear before it. 3. Write a program that will ask the user to input two coordinates on a Cartesian plane: A(x1, y1) & B(x2, y2) Calculate and output the distance between A & B using the coordinates typed in by the user. Remember: the distance between two points is calculated with: d = (x2 - 1)2 + (y2 - y1)2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!