7. Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10-19 20% 20-49 30% 50–99 40% 100 or more 50% Design a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.
Q: Q3. (Dice Rolling) Write a program that simulates the rolling of two dice. The program should use…
A: Given:
Q: Land CalculationOne acre of land is equivalent to 43,560 square feet. Design a program that asks the…
A: Since programming language not mentioned, using python.
Q: The cost to fix a vehicle depends on the damage type. Damages are classified into 3 groups as…
A: Required:
Q: 1.Balloon Emporium sells both latex and Mylar balloons. The store owner wants a pro-gram that allows…
A: Answer:-
Q: F &B Fast-Food Restaurant offers three types of menu. Each customer can make an order based on the…
A: Use an infinite loop and prompt for user choice and if input is X, we will exit for day and print…
Q: 1 The salary scales of workers in an institution are taken as input. The workers get paid as per the…
A: Solution 1 - Programming language used - C All necessary comments are included in program code.…
Q: The monthly payment for a given loan pays the principal and the interest. The monthly interest is…
A: Answer :
Q: Party-On sells individual hot/cold cups and dessert plates for parties. SueChen wants a program that…
A: The Party-On sells individual dessert plates and hot/cold cups for the parties. Create a program to,…
Q: QUESTION2.Energy Drink Consumption A soft drink company recently surveyed 12,467 of its customers…
A: public class Main { private double customers; private double thoseThatPurch;…
Q: 2. Loan Repayment' Write a program that helps a loan company determine the payment schedule for…
A: HI THEREI AM ADDING ANSWER BELOWPLEASE GO THROUGH ITTHANK YOU
Q: Description Write a program that asks the user to enter an amount of money in the format of dollars…
A: Program: # Asking for a dollar and cent amount from the user # Prompting a message to enter a amount…
Q: urbo c++ code for The utilities commission has decided that the electric company overcharged its…
A: Include necessary header file. In main function declare a integer variable kilowatt and float…
Q: This is python programming question.
A: A Python program for the given criteria is as follows, File name: “main.py” #Import the package…
Q: Assuming there are no deposits other than the original investment, the balance in a saving account…
A: Since you have not mentioned programing language I'm doing this in Python.
Q: (Find the lowest price) Write a program that prompts the user to enter the number of items and each…
A: C++ Program for above : #include <iostream> using namespace std; int main() { //get the…
Q: My Solutions > Tax Calculator (conditional flow control) The simplest income tax calculation for a…
A: We need to write a function using Matlab to compute income tax.
Q: (Current time) Listing 2.9, ShowCurrentTime.cpp, gives a program that displays the current time in…
A: Given: (Current time) Listing 2.9, ShowCurrentTime.cpp, gives a program that displays the…
Q: 7. Pennies for Pay (Make it fast!!!) Write a program that calculates the amount of money a person…
A: Below is a required C++ code. Approach of a program: Include necessary header files and use…
Q: QUESTION2.Energy Drink Consumption A soft drink company recently surveyed 12,467 of its customers…
A: public class Main { private double customers; private double thoseThatPurch;…
Q: C++ Ingredient Adjuster A cookie recipe calls for the following ingredients: 5 cups of sugar 1 cup…
A: C++ Ingredient Adjuster A cookie recipe calls for the following ingredients: 5 cups of sugar 1 cup…
Q: Software Sales A software company sells a package that retails for $99. Quantity discounts are given…
A: Algorithm: 1. Input unit sold 2. Check if quantity is not negative. 3. Check the condition for…
Q: Problem 3 Write a program that will calculate the volume of a box. The user is required to enter 3…
A: code snippet:
Q: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food…
A: Solution Here is the source code of the program "main.java" // We are import the necessary package…
Q: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food…
A: This program calculates the percentage of calories from fat grams. Number of fat grams and calories…
Q: The cost to fix a vehicle depends on the damage type. Damages are classified into 3 groups as…
A: Use an if condition to check the damage type and perform respective calculations and display…
Q: Java Script Questions from number 2 to number 4
A: (2) Complete program: <! DOCTYPE html> <html> <body> <p>Question…
Q: Problem 1. How Much Spaghetti Sauce? A spaghetti sauce recipe calls for the following ingredients: 2…
A:
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: Here is the explanation.
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: Given: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are…
Q: A prime number is a whole number greater than 1 whose only can be divided by itself and 1. Thus,…
A: code in c++ #include <iostream> using namespace std; int main() { int n, i, m = 0, flag…
Q: A customer in a store is purchasing five items. Design a program that asks for the price of each…
A: Note: since programming language is not mentioned we are providing solution in c++ . please repost…
Q: Types of charges Room charges : Junior suite Deluxe suite Executive suite Critical care units:…
A: Since you have posted a question with multiple sub-parts, we will solve first three subparts for…
Q: / MovieGuide.cpp - This program allows each theater patron to enter a value from 0 to 4 //…
A: #include <iostream> #include <string> using namespace std; int main() { // Declare…
Q: (Financials: currency exchange) Write a program that prompts the user to enter the exchange rate…
A: EXPLANATION: - The integer variables are declared for reading the amount and the user choice for…
Q: 4-5 A Girl Scout needs to calculate the total dollar amount of her cookie orders. User input should…
A: Given :- 4-5 A Girl Scout needs to calculate the total dollar amount of her cookie orders. User…
Q: QUESTION5: The Speed of Sound. The following table shows the approximate speed of sound in air,…
A: PROGRAM CODE: #include <iostream> // include header file for input output…
Q: 7. Pennies for Pay Write a program that calculates the amount of money a person would earn over a…
A: Below is a required C++ code. Approach of a program: Include necessary header files and use…
Q: The credit plan at TidBit Computer Store specifies a 10% The amount of principal for a month is…
A: Given: The month number (beginning with 1) The current total balance owed The interest owed for…
Q: c++ program create a program that will ask the user to accept the total tuition fee of the student.…
A: - We need to code the tution fee calculation in C++.
Q: Car sales commission problem - For each used car a salesperson sells, the commission paid is as…
A: As per our policy, we can answer only one question if want an answer for the second question you can…
Q: The monthly payment on a loan may be calculated by the following formula: N Rate * (1 + Rate)* * L/;…
A: NOTE: SINCE THE LANGUAGE OF THE CODE IS NOT MENTIONED, I HAVE USED C++ FOR THE SOLUTION. Define…
Q: 8. Pennies for Pay Write a program that calculates the amount of money a person would earn over…
A: Below is a required C++ code. Approach of a program: Include necessary header files and use…
Q: 8. Cookie Calories A bag of cookies holds 40 cookies. The calorie information on the bag claims that…
A: EXPLANATION: - Scanner class is present in util package, hence it is imported. The user is given…
Q: rite an algorithm that will calculate the salary of an employee for the month, and then display on…
A: The given details are related to calculating the salary of employees working for a Car company. The…
Q: Sports exercise advisor algorithm. In this algorithm you will start out with a temperature value in…
A: The given requirement is to develop an algorithm for deciding the sports exercise based on the…
Q: Sales Prediction The East Coast sales division of a company generates 58 percent of total sales.…
A: Task :- Write programs to perform the given tasks. (As programming language is not specified , i…
Q: flowcharts Task 1: Find the even multiples of any number chosen by the user in a given range – the…
A: the question asks given a number and a range we need to print the multiple of that numbers which are…
Q: The monthly payment for a given loan pays the principal and the interest. The monthly interest is…
A: public static void main(String[] strings) { Scanner input = new Scanner(System.in);…
Q: (Fraction calculator) | Write a program that lets the user perform arithmetic operations on…
A: Program code: //include the required header files #include<iostream> using namespace std;…
Include the IPO chart and
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
- A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Qt: 10 -19 Discount: 10% Qt: 20 -49 Discount: 20% Qt: 50 -99 Discount: 30% Qt: 100 or More Discount: 40% Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Python programming questionSoftware Sales (see Chapter 3, Programming Exercises 12): A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10–19 10% 20–49 20% 50–99 30% 100 or more 40% Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Submit: Algorithm, Python code with documentation, OutputSoftware SalesA software company sells a package that retails for $99. Quantity discounts are given accordingto the following table:Quantity Discount10–19 10%20–49 20%50–99 30%100 or more 40%Write a program that asks the user to enter the number of packages purchased. The programshould then display he number of packages purchased, the amount of the discount (if any) and the total amount of the purchase after the discount.
- software sales a software company sells a package that retails for $99. quantity discounts are given according to the following table: quantity discount 10-19 10% 20-49 20% 50-99 30% 100 or more 40% write a program that asks the user to enter the number of packages purchased. the program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.The company discounted used cars pays their employees according to this chart: 250$ per months plus 50$ per car sold. If the salesman sells more than 10 cars, the employee receives a bonus of 5% of the total of his sales, in addition to his regular salary.Each month, the owner sits in front of the computer, and enters the following information: The name of the employee, the number of cars sold, as well as the total of all the sales for the month. algorithm that will calculate the salary of an employee for the month, and then display on the screen, his name, total cars sold, base salary, bonus if applicable and entire salaryDomino's Time Function Name: dominosTime() Parameters: N/A Returns: None Description: During the summer, you ordered a lot of food from Domino's. Pizzas are $12, an order of pasta is $6, and chicken wings are $8. Write a function that asks the user how many of each food item they would like, and then print a response telling them what their order to- tal will be. The order total should be an integer. >>> dominosTime() How many pizzas do you want? 3 How many orders of pasta do you want? 2 How many orders of chicken wings do you want? 2 By ordering 3 pizzas, 2 orders of pasta, and 2 orders of chicken wings, your order total comes to $64.
- Repetition control structure The do.. while/while statements o The for statement Input validation 'o Use a repetition control structure for EACH user input Project Description The BlueMont chain hotels have 4 different types of room: Single room: $60/night Double room: $75/night King room: $100/night Suite room: $150/night The size of the hotel chains in different locations may be different in terms of the number of floors and the type and the number of rooms on each floor. You are required to write a program that calculates the occupancy rate and the total hotel income for one night and displays this information as well as some other information described below. The program starts by asking the location where this hotel chain is located and the number of floors in the hotel. The number of floors may not exceed 5. The User then enters the total number of rooms for each floor. The program then asks specifically the number of occupied rooms for each room type on this floor. The total…Transcribed Image Text Write a program that asks for the principal, the annual interest rate, and the number of times the interest is compounded. It should display a report similar to the following: Interest Rate: 4.25% Times Compounded: 12 Principal: $ 1000.00 Interest: 43.33 Final balance: $ 1043.33A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount 10 – 19 10% 20 – 49 20% 50 – 99 30% 100 or more 40% Write a program that asks the user to enter the number of packages purchased. The program should then display the full retail price before any discount, the amount of the discount (if any), and the total amount of the purchase after any discount. Do not allow numbers less than 0.
- 4-5 A Girl Scout needs to calculate the total dollar amount of her cookie orders. User input should be used to find the quantities sold of Smores, Thin Mints, Caramel DeLites, Shortbread, and Peanut Butter Patties. Use a selling price of $5 per box for Smores and Caramel DeLites, $4 per box for Thin Mints and Peanut Butter Patties, and $3 per box for Shortbread cookies. Print the total number of boxes sold, the total revenue for each flavor, and the total amount collected for all cookies. Use the main function and a function to calculate the sales. python 3 or above please.software.cpp A software company sells a package that retails for $99. Quantity discounts are given according to the following table. Quantity 10-19 20-49 50-99 100 or more Discount 20% 30% 40% 50% Write a program that asks for teday's date (you MUST use cin >> date. Do not use getline(cin, date), the company name and the quantity'they wish to buy and computes the total cost of the purchase. If the user enters a negative value for the quantity, tell him/her "invalid quantity". If a zero is entered, tell "Hope you decide to buy our software in the future." Otherwise display an invoice in the same format shown below. Your prompts and outputs have to look exactly the same as the following sample run (spacing too). I used 30 spaces for the labels and 10 spaces for the numbers. [kslotteempress cs111_lec_fall16]s ./a.out Enter today's date (mm/dd/yy): 09/27/16 Enter your company name: Little Coffee Shop Enter the quantity you would like to purchase: 10 Invoice for Little Coffee Shop Price…Periodic compounding The total accumulated value, including the principal sum P, is given by the formula: where: nt A = P(1 + 1) "² n A is the final amount Accumulated Value P is the original principal sum r is the nominal annual interest rate n is the compounding frequency t is the overall length of time the interest is applied (expressed using the same time units as r, usually years). Using the above formula write a program that will display the following table. Principal-Value | Times-Interest-Compunded | Annual-Int-Rate | Term | Accumulated-Value 1000 6.00% 10 3.20% 15 2000 3000 9.25% 10 2 ** 3 8 | You must use exponent operator to compute P Exponent Operator in Python is ** Examples m=3 n=2 p= m **n (https://en.wikipedia.org/wiki/Compound_interest) 1 2 4 base = 2 exp = 4 a = base ** exp print(a) 16 print("Solving the exponent, we get Solving the exponent, we get 9 ,p ) 1790.85 3219.89 7486.33