#include <iostream>
using namespace std;
int main()
{
double price, tax, shippingCharge, totalPrice;
int n;
cout<<"Enter car price: ";
cin>>price;
cout<<"Enter number of cars: ";
cin>>n;
tax = price*0.09;
shippingCharge = 3000;
totalPrice = n*(price+tax+shippingCharge);
cout<<"Total price of the car sale = "<<totalPrice<<endl;
return 0;
}


In C++ Write a program to calculate a car dealer's sale of the same car. Enter...
Write a C++ program that will calculate the total amount of money for book sales at an online store. For each sale, your program should ask the number of books sold and then the price for each book and the shipping method (‘S’ for standard shipping and ‘E’ for expedited shipping). The program will produce a bill showing the subtotal, the sales tax, the discount, the shipping charge, and the final total for the sale. The program will continue processing...
Java Create a program for a car dealer to use where you have a class for Salesman, Cars, and the Records of sale. 4 salesman and 4 cars to start with but have array size for 50 cars, have space for 100 records in array. The program should have 6 options in the menu. buy car, sell car, show inventory, show salesman, show sales records, and exit. Salesman class - Name, ID number, Commision rate, Total commisions earned, Totals number...
Write a program that asks the user to enter the types of dark chocolate and the number of packages purchased at the SHSU@ACM freshly made store. Make sure that you display the following chart for the user to make the selection. The plain base chocolate cost $5.00. The flavor and sweetness can be added to add on various rate. Chocolate Intensity Percentage Flavor & Sweetness Cost Rate 1 - 25% Super Sweet 10% 26 - 50% ...
In Java, write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase...
In Java, write a program using a loop that asks the user to enter a series of decimal numbers. The user must enter -88 to end the input of the decimal numbers. After the user enters all numbers, the program should display the sum of all numbers entered.
JAVASCRIPT Create a program that uses a loop, conditional statements, and a function to complete the following: Using a loop, ask the user to enter the item name, price, and quantity for 3 items. Using a function, calculate the following: Calculate the cost of each item and display the cost on the screen. Calculate the total cost of the three items and display the total cost on the screen. Add a shipping charge at the end of the order based...
Track tickets to digital point of sale system, design and
build that point of sale program for them. Please help due very
soon!
1. Allow the waitstaff to input the table number, and the number of diners at this table o Each table can seat up to 4 diners 2. For each diner at the table, the system must: 1. Display a menu of at least 7 common breakfast items 2. Allow the waitstaff to enter the items the diner...
need help!! c++
HW_6b - Calculate the average Use a do-while loop Write a program that first prompts the user for an upper limit: Enter the number of entries: 5 € (user enters 5) After the user enters a number, the program should prompt the user to enter that many numbers. For example, if the user enters 5, then the program will ask the user to enter 5 values. Use a do-while loop to add the numbers. o With each...
Answer using C++ Write a program that will calculate the final sales price of a motorcycle; this includes additional optional packages along with sales tax. You may assume that the base? price of the motorcycle is $30,000. First you must ask the user to choose which optional packages they want. The user is only permitted to choose one package. Your program should display a menu of the available packages. The user should enter the package by entering the letter associated...
Python Code Write a program using functions and mainline logic which prompts the user to enter a number. The number must be at least 5 and at most 20. (In other words, between 5 and 20, inclusive.) The program then generates that number of random integers and stores them in a list. The random integers should range from 0 to 100. (You can use a wider range if you want, but the lower end of the range must be at...