Al-Hadidi hypermarket offers a variety of food, household, electronics, and garments items. They determine the retail price based on the markup percentage that is different for each item's category. The following table shows the markup percentage of various item categories. Item Category Grocery Markup Percentage 5% Fresh-Food 8% Electronics 10% Lifestye Home-living 20% 15% Write a Python program named retailprice.py that asks the user to enter an item's wholesale cost and category and calculate the retail price for the item according to the following formula: Retail price = wholesale price + (wholesale price * markup percentage) Run and test your program. Once done, submit the file named retailprice.py at the link below.
Q: Create the Taxes Application. The application computes taxes for the schedule given in Table 1. The…
A: Answer Code: #include <stdio.h> // library for input output function int main() {…
Q: The cost to fix a vehicle depends on the damage type. Damages are classified into 3 groups as…
A: Required:
Q: Survey Data Analysis Computers are commonly used to compile and analyze the results of surveys and…
A: ***THE BELOW CODE IS IMPLEMENTED IN C BY USING DYNAMIC ARRAY***
Q: Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a…
A: Answer :
Q: A software company sells a package that retails for $99. Quantity discounts are given according to…
A: Program: #get the input from the user num = float(input("Enter the number of packages purchased: "))…
Q: Using Python The application should provide the sum of all sales totals for each entered department…
A: Programming instructions: Declare the required arrays and variables. Use while-loop to take input…
Q: Question 1[15 pts]: Write a java program to help an employee calculate the price of a product after…
A: this is a simple logical coding question in java the complete code and its output is attached in the…
Q: Type a Python calculator-like program (program idea: asks the user to enter two numbers, then the…
A: Given: Q: Type a Python calculator-like program (program idea: asks the user to enter two numbers,…
Q: python code Input: Name of a person Age of that person…
A:
Q: only in python Wonder Shopping wants to calculate the Commission given their employee. The program…
A: Based on python
Q: LULU Shopping wants to calculate the Commission given their employee. The program should ask the…
A: The problem is based on the calculation of total bill and commission of the employee using python…
Q: he Billy Goat Fast-Fast Food restaurant sells the following products: Product Price ($)…
A: items = ['Cheeseburger','Pepsi','Chips']price = [2.49,1.00,0.59]print('Items\t\t\tPrice($)')for i in…
Q: (Financial application: calculate future investment value) Write a program**(PYTHON)** that reads in…
A: First, we will input the investment amount, annual interest rate, and the number of years. Then…
Q: An ISBN-10 (International Standard Book Number) consists of 10 digits: The last digit, is a…
A: Java code: import java.util.Scanner; public class Main{ public static void main(String[] args){…
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: A parking garage charges a $2.00 minimum fee to park for up to three hours and an additional $0.50…
A: Program for the given problem :- #include <stdio.h> float getCharge(float hours){ float…
Q: USING C++ PROGRAMMING LANGUAGE A mobile phone service has three different data plans for its…
A: Given Plans are: PLAN A: For $19.99 per month, 2 gigabytes are provided. Additional usage…
Q: Program in python Specifications Develop a program to allow the user to interactively enter…
A: Python program for above : # get the order print("Enter your order: ", end =" ") order =…
Q: The Konditorei coffee shop sells coffee at $10.50 a pound plus the costof shipping. Each order ships…
A: We need to find cost of the coffee order, given $10.50 a pound + the cost of shipping and the…
Q: A) The following program is used in a bookstore to determine how many discount coupons a customer…
A: Task : Considering the above code in C++, the task is required to produce the equivalent output of…
Q: Create an investment-value calculator) Write a program that calculates the future value of an…
A: It is defined as a powerful general-purpose programming language. It is used in web development,…
Q: Gino's Pizzaria wants an application to compute the price of pizza orders, based on the following:…
A: Actually, the given information is: If the size/toppings are:�small� with 2 or fewer toppings,…
Q: Machine Problem:(Computing Body Mass Index)Body Mass Index (BMI) is a measure of health on weight.…
A: Your python program is given below as you required with an output.
Q: Need help with Python.....paste indented code here Implement the following: 1) Request a float…
A: PROGRAM CODE: # take the value of price from the userprice = float(input("Enter the search price:…
Q: Morgan’s Department Store distributes bonuses to its salespeople after the holiday rush. Table 9-6…
A: import java.util.Scanner;class Test155 { public static void main(String args[]) { Scanner sc = new…
Q: Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or not…
A: Given Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or…
Q: Al-Hadidi hypermarket offers a variety of food, household, electronics, and garments items. They…
A: Python used to answer this question
Q: An ATM contains Indian currency notes of 100,500 and 2000. To withdraw cash from this ATM, the user…
A: As you have not provided the sample output in the question. So, we have provided the output in the…
Q: Solve it using pseudocode (no python syntax allowed) Code it in Python - must use decision structure…
A: Initialize rate variable to store value later: rate=0 Initialize while loop to keep checking for…
Q: Using Dev c++ Create an application containing 5 prices, such as $2.34, $7.89, and so on. The…
A: Here is the c++ code: See below steps for code.
Q: Prompt the user to enter in lengths and widths for the following rooms Living Room Master Bedroom…
A: In the above program, first we need to take input from user length and width of living room, family…
Q: in python 3.2 Selling a new vehicle pays a salesperson $1500. Selling a used vehicle pays a…
A: Import local function to use currency formatting in the program.prompt user to enter the type of…
Q: Develop a body mass index (BMI) calculator program that reads body weight and height as inputs and…
A: Alogthrim Steps in the form of flowchart :
Q: PYTHON PROGRAMMING Reza Enterprises sells tickets for buses, tours, and other travel services.…
A: ALGORITHM:- 1. Take choice from user. 2. Take input for ticket number. 3. Check if it is valid…
Q: Develop a body mass index (BMI) calculator program that reads body weight and height as inputs and…
A: (1)Read the person weight and height (2)Compute the BMI as per the given formula (3)Determine the…
Q: 4.20 LAB: Warm up: Automobile service cost (1) Prompt the user for an automobile service. Output…
A: Step 1: Get input from user Step 2: Print the entered input Step 3 : Check the entered input for…
Q: Oman electricity wants to calculate the discounts of its citizens for their electricity…
A: Start Input name, units, amount Calculate Bill Apply discount Print details Stop
Q: Text-based adventure game: Pretend you are creating a text-based adventure game. At different points…
A: def choice(c): if c == 1: print("Fight") elif c == 2: print("Run") elif c ==…
Q: DESCRIPTION Please make sure you use python 3+ version to do all of your homeworks. Please use…
A: Program: def main(): less_than_30000_count=0 between_30K_50K_count=0…
Q: You are a Burger and Fries stall owner that would want to automate the computation of your orders.…
A:
Q: this assignment you will write a computer program from scratch using the Python programming…
A: Code: def add(a,b): return a+b def subtract(a,b): return a-b def multiply (a,b): return a*b def…
Q: Omani Electricity Company is an electric energy company. It generates and distributes electric power…
A: I give the code in Python along with output and code screenshot
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: The monthly payment on a loan may be calculated by the following formula: Rate-(1+Rate)N Раутеnt 3D…
A: #include<iostream>#include<math.h>using namespace std;int main(){ int n; float…
Q: rite a program to accumulate the "x" deposits made in a month in a savings account, include in the…
A: Given Question, Write a program to accumulate the "x" deposits made in a month in a savings account,…
Q: Enter desired auto service: oil change You entered: Oil change (2) Output the price of the requested…
A: The answer is
Q: My Solution Tax Calculator (conditional flow control) The simplest income tax calculation for a…
A: function…
Q: Using Java create a craps game prompting users to play bets, tracking win / lose records. keeping…
A: import java.util.*;import java.lang.*;import java.io.*;class Craps{ static int roll2Dice(Random…
Q: The company « Super discounted used cars inc.» pays their employees according to this chart: 250$…
A: Introduction The given details are related to calculating the salary of employees working for a Car…
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;…
Step by step
Solved in 3 steps with 1 images
- GreenLawn a local lawn care company has different pricing policies for its customers. GreenLawn sends out monthly invoices and will give discounts if payments are made within 5 days. The discounting policy is as follow: If the amount of the monthly bill is greater than $300, subtract 4 percent from the invoice; if the amount is between $300 and $100, subtract a 2-percent discount; if the amount is less than $100, do not apply any discount. All bills made via the web automatically receive an extra 3-percent discount. Develop a decision for GreenLawn discounting decisions. Decision Table submission: Include the initial table with all rules, and the most simplified table. Use different colors in the columns to easily show how columns are collapsed/simplified. please do not provideo solution in image format thank you!PYTHON programming solotion Develop a program that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8. The program must display a multiplication table with results using these values. For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows: Multiplication Table 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 additionally Each multiplication problem must be displayed with a problem number. The program must prompt the user to enter an answer to each of the multiplication problems. The correct answer should be displayed after the user enters an answer. A message should be displayed informing the user that the answer entered was correct or incorrect followed by an appropriate motivating comment. A running record of the number of correct and incorrect responses must be kept. After all the problems have been presented the user must be informed of…Following code in C using random Name Reg no and highschool name Use switch case in C language to do the following: Create a restaurant with the name “Your Name - Reg_No – Name of your highschool” The restaurant should come with the options of delivery and take away and the choice should be displayed as “Delivery – Registration No” and “Takeaway – Name” Each option should have the same menu and an extra 15% charge be included if a customer wants home delivery Both menus should have two items that are customizable, such as a burger can have chillies removed, cheese added and extra mayonnaise. The user should have the option of choosing multiple items with multiple quantity. Print a bill in the end.
- In C++ please, using basic programming one coding The main menu should show the available options: Show the roster: Displays all the player names and jersey numbers in a numbered list. Ex: 1. Susan Martinez (33), 2. Jake Smith (21), etc. Add a player: Prompts the user to type the player's full name and jersey number. Then adds the player to the roster. Remove a player: Displays the roster and prompts the user to enter the number of the player to remove. Then removes the player from the roster. Quit: Quits the program. The program should display the main menu after the user shows the roster, adds a player, or removes a player. The program only terminates when the user chooses the quit option. Data validation should be used where appropriate. Ex: The user should not be able to choose an option that doesn't exist or delete a player that doesn't exist. The roster should be kept in alphabetic order by the players' full names. Ex: If Alice Chang (9) is added to a roster with Jake Smith and…The language is C# Write a program named TestScoreList that accepts eight int values representing student test scores. Display each of the values along with a message that indicates how far it is from the average. An example of how the results should be output is as follows: Test # 0: 89 From average: 6 Test # 1: 78 From average: -5VBA - EXCEL Engine – optional – this indicates the solving method that needs to be used to get to a solution. 1 for the Simplex LP method, 2 for the GRG Nonlinear method, or 3 for the Evolutionary method. This corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box EngineDesc – optional -this is an alternate way of selecting the solving method – here you would type the strings “Simplex LP”, “GRG Nonlinear” or “Evolutionary”. This also corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box What happens when the code demonstrates: Engine:=1, EngineDesc:="GRG Nonlinear" ?
- PYTHON PROGRAMMING Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below: Step 1: Enter the ticket number; for example 123454 Step 2: Remove the last digit, leaving 12345 Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4. Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and continue to loop your program…A computer store uses a database to track inventory. The database has a table named Inventory, with the following columns: ProductID INTEGER PRIMARY KEY NOT NULL ProductName TEXT QtyOnHand INTEGER Cost REAL Also assume that the cur variable references a Cursor object for the database. Write Python code that does the following: Executes a SELECT statement to return all the columns from the rows where Cost is less than 999.99. Assigns all the results of the SELECT statement to a variable named results.GUI using tkinker (Python) - Challenge Activity 1: Student Information Display ToolWrite a Python program (GUI App) that requests the following information from user and displays it: ∙ Student name∙ Student address, with suburb, state, and post code∙ Student telephone number ∙ Student Course
- Question: Party budget planning Prompt the user to enter their current budget and the number of people who need to share a meal. You are ordering food from a restaurant that has two menu items: Tacos $4 Empanadas $3 Calculate and print out all the options of meals where the budget is used entirely(where possible) and each person has an equal number of items to eat. They may eat different things, but everyone gets the same number of food items, e.g. 2 tacos or 1 empanada and 1 taco or 2 empanadas. Hints: Here are some things that might help you in your solution. If total items purchased does not equally divide by the number of diners, then abandon that combination. It may help to calculate the max number of empanadas that the budget can buy and also the max number of tacos that the budget could buy. These can be thought of as upper bounds in your loops. In your solution, keep track of items per person Also, keep track of total number of viable solutions, as that might help you…java application that will allow a user to keep track of the sales of an employee the user should be presented with an option to enter the employee name and the sales amount continuously prompt the user to enter in a sales amount for an employee until a sentinel value of 0 is enteredPYTHON CODE Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below: Step 1: Enter the ticket number; for example 123454 Step 2: Remove the last digit, leaving 12345 Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4. Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and continue to loop your program asking…