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.
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
Get step-by-step solutions from verified subject matter experts
