Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new videos for $3.00 a night, and oldies for $2.00 a night. Write a program that the clerks at Five Star Retro Video can use to calculate the total charge for a customer’s video rentals. The program should prompt the user for the number of each type of video and output the total cost.
Q: Write a program which prompts the user for their age. If they are 19 or younger inform them that…
A: "Since you have not mention any programming language, so we will write this program in C++…
Q: 2. Write a simple payroll program that will display employee's information. The program should…
A: pay roll program that will display employee's information
Q: A soft drink company recently surveyed 12,467 of its customers and found that approximately 14…
A: Given: A soft drink company recently surveyed 12,467 of its customers and found that approximately…
Q: The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay…
A: Define the class Employee with data members as pay rate for hour, hours worked, first name and last…
Q: Suppose the Great Frederick Fair wants to update its ticketing software. They need you to write a…
A: Answer: A required Python program is as follows, #Set the constant BASIC_PRICE=40…
Q: There are three seating categories at a stadium. Class A seats cost $20, Class B seats cost $15, and…
A: Since programming language was not mentioned , So I chosen PYTHON I have provided PYTHON…
Q: Madison County collects property taxes on the assessed value of property, which is 60 percent of its…
A: Madison County collects property taxes on the assessed value of property, which is 60 percent of its…
Q: Given a directed line from point p0(x0, y0) to p1(x1,y1), you can use the following condition to…
A: Program: import java.util.Scanner;public class Main{ public static void specifyposition(int…
Q: Suppose you own a tourism company for and would like to calculate the fees to be paid by a client.…
A: The answer is given below.
Q: A milk carton can hold 3.78 liters of milk. Each morning, a dairy farm ships cartons of milk to a…
A: Here ,the calculation is done as:
Q: Each morning, a dairY ships local grocery store. The cost of producing one liter of milk is $0.38,…
A: define cartoon_cap=3.78,costperLiter=0.38, profitpercartoon=0.27 declare…
Q: A milk carton can hold 3.78 liters of milk. Each morning, a dairy farm ships cartons of milk to a…
A: EXPLANATION: - The variables in C++ need to declared prior to using it. Also, it is advised to…
Q: Write a program that calculates the cost of travelling using a private jet. The program must request…
A: for input from user: Console.WriteLine("Enter name of the destination and the distance(in km) of the…
Q: Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9 oz), medium (12…
A: Given requirement, Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9…
Q: 1. Write a program that does the following: Ask the user to enter the price of their items. The user…
A: Actually, program is a executable software that runs on a computer.
Q: Suppose the Great Frederick Fair wants to update its ticketing software. They need you to write a…
A: A required Python program is as follows, #Set the constant BASIC_PRICE=40 BASIC_PRICE_Fredrick=35…
Q: An employee is paid at a rate of $16.78 per hour for regular hours worked in a week. Any hours that…
A: Program Explanation: 1) Here are input and output methods that are to be used. 2) Use the access…
Q: (1) Prompt the user for an automobile service. Output the user's input. (1 pt) Ex: Enter desired…
A: Following program could be made using if else-if ladder.I used java language as language is not…
Q: A supermarket is doing a sales promotion for soft drinks. If one day you buy soft drinks and bring…
A: Below is the code in C++ as language not specified and sample output:
Q: The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay…
A: Define the class Employee with data members as pay rate for hour, hours worked, first name and last…
Q: Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9 oz), medium (12…
A: C++ used to answer this question
Q: Assuming that all residents are given the first 1000L of water for free by the municipality, then…
A: //code in c program #include<stdio.h>#include<conio.h> int main() { const price=2; int…
Q: A software company sells a package that retails for $99. Quantity discounts are given according to…
A: Find the total cost by multiplying quantity and price Check the quantity and based on condition…
Q: A weapon shop sells arrow for $3 each. Currently, there is an ongoing buy 7 free 1" promotion, where…
A: #include <iostream>using namespace std; int main(){ int price = 3; int num;…
Q: 1. In this program you will produce an output of the total tax based on your income and marital…
A: In the below steps you can find the complete code in python. Since there is no language given in the…
Q: Write a program that calculate electricity bill. The program prompts the user to enter the amount of…
A: As there is no programming language mentioned program is attempted in python langugae. user has to…
Q: rice calculations, using the rules*: • The basic price of a ticket is $40. • Senior citizens (age >=…
A: the program is an given below : def main(): ticket_base_price = 40 name = input('Enter…
Q: 4. A software company sells game cartridges for $99. Quantity discounts are given according to the…
A: As per our guidelines, we are supposed to answer only one question. Kindly repost the remaining…
Q: Write a program that computes and interprets the Body Mass Index (BMI). The program prompts the user…
A: Start Input weight in pounds Input height in inches Convert weight to kilograms Convert height to…
Q: Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9 oz), medium (12…
A: #include <iostream> #include <iomanip> using namespace std; //Named constants const…
Q: A java program that works out the charges for the month. The program should accept the following on…
A: //import the required package import java.util.Scanner; //Definition of the main class public class…
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: Annsam Company Ltd is a sales and marketing company. The Management of the company has decided to…
A: Given that Annsam Company Ltd is a sales and marketing company. The Management of the company has…
Q: Write a program called CashRegister.cpp. The program should prompt the user for each item they are…
A: the c++ code is an given below : #include <iostream> #include <vector> using namespace…
Q: Suppose that you work for a beverage company. The company wants to know the optimal cost for a…
A: Code import java.util.*;public class Main{ public static void main(String[] args) { int…
Q: Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9oz), medium (12oz),…
A: Required: Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9oz),…
Q: Write a program that computes the fuel efficiency of a multi-leg journey. The program will first…
A: Python code :- def question9(): print("Question 9) # arrays to store miles and gas used…
Q: (C++) Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9 oz), medium…
A: The program has five menu options: Order Coffee Check total money for the session Check total…
Q: Jason opened a coffee shop at the beach and sells coffee in three sizes: small (9 oz), medium (12…
A: #include <iostream>using namespace std;//function to show the user how to use the programvoid…
Q: A sales event at Trader Jane's is reducing some items by 25%. Store that value to a properly named…
A: Introduction of Program The C++ Program provided with the Reducing Offer and the Sales Tax values of…
Q: Write a program will then ask for the prelim grade, midterm grade and final grade of the student.…
A: The program is written in python.find the program in below steps.
Q: Write a pseudo code in which you ask the user to will enter a number and then enter 5 more numbers…
A: A pseudocode is a sequence of codes written in a natural language such as English. It is a…
Q: While exercising, you can use a heart-rate monitor to see that your heart rate stays within a safe…
A: Algorithm: 1. take user input of age 2. find max hear rate by using given formula 3. find range by…
Q: A software company sells a package that retails for $99. Quantity discounts are given according to…
A: Given: A software company sells a package that retails for $99. Quantity discounts are given…
Q: Paula and Danny want to plant evergreen trees along the back side of their yard. They do not want to…
A: Program code: #include<iostream> #include<iomanip> #include<cmath> using…
Q: Write a program that computes how much a customer has to pay after purchasing two items. Make the…
A: Step 1 : Start Step 2 : Take user input for the price of Item 1 and item 2. Step 3 : Calculate the…
Q: Single room: $60/night Double room: $75/night King room: $100/night Suite room: $150/night…
A: Actually, program is an executable software that runs on a computer.
Q: There will be voting in a country. In this voting, the voting of those under 17-years-old or over…
A: Step 1: First of all ,start the program by giving proper header file. Step 2: Take Input from the…
Q: KEMBOJA Hospital provides top-notched medical care with comfortable rooms. The following are the…
A: Note : as per company guidelines we are supposed to answer only first 3-sub parts . please repost…
Q: Suppose you shop for rice in two different packages. You would like to write a program to compare…
A: import java.util.Scanner; public class Exercise_1{ public static void main(String[] args)…
Five Star Retro Video rents VHS tapes and DVDs to the same connoisseurs who like to buy LP record albums. The store rents new videos for $3.00 a night, and oldies for $2.00 a night. Write a
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
- The cost of renting a room at a hotel is, say $100.00 per night. For special occasions, such as a wedding or conference, the hotel offers a special discount as follows: If the number of rooms booked at least 10, the discount is 10%; at least 20, the discount is 20%; and at least 30, the discount is 30%. Also if rooms are booked for at least three days, then there is an additional 5% discount. Write a program that prompts the user to enter the cost of renting one room, the number of rooms booked, the number of days the rooms are booked, and the sales tax (as a percent). The program outputs the cost of renting one room, the discount on each room as a percent, the number of rooms booked, the number of days the rooms are booked, the total cost of the rooms, the sales tax, and the total billing amount. Your program must use appropriate named constants to store special values such as various discounts.4. During each summer, John and Jessica grow vegetables in their backyard and buy seeds and fertilizer from a local nursery. The nursery carries different types of vegetable fertilizers in various bag sizes. When buying a particular fertilizer, they want to know the price of the fertilizer per pound and the cost of fertilizing per square foot. The following program prompts the user to enter the size of the fertilizer bag, in pounds, the cost of the bag, and the area, in square feet, that can be covered by the bag. The program should output the desired result. However, the program contains logic errors. Find and correct the logic errors so that the program works properly. // Logic errors. #include #include using namespace std; int main() { double costs double area; double bagsize; cout > bagsize; cout > cost; cout > area; cout << endl; cout << "The cost of the fertilizer per pound is: $" << bagsize / cost << endl; cout << "The cost of fertilizing per square foot is: $" << area / cost << endl; return 0; }The Konditorei coffee shop sells coffee at $10.50 a pound plus the costof shipping. Each order ships for $0.86 per pound + $1.50 fixed cost foroverhead. Write a program that calculates the cost of an order.
- Fox International sells pre-paid calling card with the following features: Calls to USo 1.2 cents per minute plus a 49 cent connection fee per call Calls to Europeo 2.3 cents per minute plus a 49 cent connection fee per call Calls to Australiao 6.4 cents per minutes plus a 49 cent connection fee per callWrite a program that work out the charges for the month. The program should accept the followinginformation: Account holders name Card number Starting Balance on card For US callso Total number of minutes of all callso Total number of calls made For European callso Total number of minutes of all callso Total number of calls made For Australian callso Total number of minutes of all callso Total number of calls madeYou are NOT expected to error check your inputs for this assignment. (e.g. checking for negative values,etc.). There is NO GST charged on the calls as the GST was paid when the card was purchased.Format of output:Review the test plan to see how the user would like the…Write a program that will calculate the cost of carpeting. We-do-Carpets is a company that specializes in carpeting homes. The company is interested in new software for their sales staff. The software needs to provide quotes to potential customers. Your program should: Prompt the user to enter in lengths and widths for the following rooms Living Room Master Bedroom Family Room Kids Bedroom Calculate the cost of carpeting for each room Calculate the sub total cost for all rooms Calculate the 6.625 NJ Sales Tax Calculate the grand Total use java programming Your program must be formatted according to the output Sample OutputAssuming that all residents are given the first 1000L of water for free by the municipality, then are charged R2.00 per litre thereafter. Write a program that will prompt the user to enter the amount of water used by a resident and then computes the amount to be paid. For example, if a resident uses 1200L, then the amount to be paid will be R400
- (C++) Jason opened a coffee shop at the beach and sells coffee in three sizes:small (9 oz),medium (12 oz),and large (15 oz). The cost of one small cup is $1.75, one medium cup is $1.90, and one large cup is $2.00. Write a menu-driven program that will make the coffee shop operational. Your program should allow the user to do the following: Buy coffee in any size and in any number of cups. At any time show the total number of cups of each size sold. At any time show the total amount of coffee sold. At any time show the total money made. Your program should consist of at least the following functions: a function to show the user how to use the program; a function to sell coffee; a function to show the number of cups of each size sold; a function to show the total amount of coffee sold; and a function to show the total money made. Your program should not use any global variables and special values such as coffee cup sizes and cost of a coffee cup must be declared as named constants.…Write a program to calculates the cost to a company for a proposed raise. The program prompts for the number of employees and each employee's salary then calculates the individual raise and the total cost of raises. Employees earning RM25,000 or less will receive a 5% raise. Employees earning between RM25,001 and RM35,000 will receive a 4% raise. Employees earning RM35,001 or greater will receive a 3% raise. Display each employee's raise and the total raises. Given below are the user-defined function prototypes : /* the function getNumber returns an integer value entered by the user giving the number of employees */ int getNumber(); /* the function getSalary returns a float value entered by the user giving the employee's salary */ double getSalary(int empNumber); /* the function calcRaise returns the raise calculated for the salary passed */ double calcRaise(double salary); /* the function totalRaises returns the new total of raises using the current total and current raise being…The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay of their employees. The user will enter an employee’s first name, last name, the hourly rate of pay, and the number of hours worked for the week. In addition, Annan Supermarkets would like the program to compute the employee’s net pay and overtime pay. Overtime hours, any hours over 40, are paid at 1.5 the regular hourlyrate. Net pay is gross pay minus taxes (Refer to the tax table on the second page).Define a class called Employee. The class must have private attributes to store the employee's name, hourly rate, and regular (≤ 40) and overtime hours worked. The class must also have methods to perform the following tasks:• A constructor to initialize the hourly rate to the minimum wage of $7.25 per hourand the hours worked (regular and overtime) to 0.0.• A method to get (a setter/mutator method)⬧ the employee's name⬧ the hourly rate⬧ the hours work for the month (by the week – assume 4…
- Write a program which prompts the user for their age. If they are 19 or younger inform them that qualify for student discounts. If they are between 20 and 65 inform them that they qualify for no age discounts. If they are 65 or over inform them that they can receive senior discounts.An employee is paid at a rate of $16.78 per hour for regular hours worked in a week. Any hours that are paid at the overtime rate of one and one half times that. From the worker’s gross pay 6% is withheld for social security system tax, 14% is withheld for federal income tax, 5% is withheld for state incofor union dues. If thfor health insurance beyond what the employers pays. Write a program that will read 25 employees the number of hours worked in a week and the number of dependents as input, and will then output the worker’s gross pay, each withholding amount and the net take home pay for the week.The owners of the Annan Supermarket would like to have a program that computes the weekly gross pay of their employees. The user will enter an employee’s first name, last name, the hourly rate of pay, and the number of hours worked for the week. In addition, Annan Supermarkets would like the program to compute the employee’s net pay and overtime pay. Overtime hours, any hours over 40, are paid at 1.5 the regular hourly rate. Net pay is gross pay minus taxes (Refer to the tax table on the second page). Define a class called Employee. The class must have private attributes to store the employee's name, hourly rate, and regular (≤ 40) and overtime hours worked. The class must also have methods to perform the following tasks: A constructor to initialize the hourly rate to the minimum wage of $7.25 per hour and the hours worked (regular and overtime) to 0.0. A method to get (a setter/mutator method)⬧ the employee's name⬧ the hourly rate⬧ the hours work for the month (by the week –…