Bob a builder has come to you to build a program for his business. He needs to determine the square footage of a room in order to buy materials and calculate costs. Bob charges $125 per square metre. The program is going to ask the user to enter the name of a room. It will then ask for the width and length of the room (in meters) to be built. The program will calculate the room area and use this information to generate an approximate cost. Your program will display the room, the total area and the approximate cost to the screen.
Q: I ned help programming this C++ program: Write a C++ console application that calculates and…
A: C++ Code: #include <iostream>using namespace std; float calculateCharges(int hours) { //…
Q: Write a program that reads how much a customer spends on groceries and computes the discount coupon…
A: As no Programming language is mentioned, using Java.
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: A mobile phone service has three different data plans for its customers: PLAN A: For $19.99…
A: Note: - Since the programming language is not mentioned to write the program. The below code is…
Q: You have received the following SMS message for your "Super Boost" vaccine registration: These are…
A: Here I have created variables to store the information. Next, I have taken input from the user.…
Q: e a program which takes quantity of fuel and type of fuel (1OR 2) FROM keyboard Nad display total…
A: NOTE: SINCE THE LANGUAGE OF THE CODE IS NOT MENTIONED, I HAVE USED PYTHON FOR THE SOLUTION. Define…
Q: QUESTION: Malaysia has introduced the household group based on the income classification which is…
A: #include<stdio.h> #include<string.h> struct income { float basic; float…
Q: Suppose you are a computer salesman and your income depend on the total sales and commissions earned…
A: Given:- income=total_sale+Commision; Commision=total_sale*Commision_rate;
Q: python Write a program that uses a custom function to return the cost of purchasing an item,…
A: Program Approach- Define the custom function named Calculate_tax() with parameters…
Q: Your software company was invited to provide a proposal for a company in Australia. You currently…
A: Program: //include the header file import java.util.*; //definition of main method class Main {…
Q: A carpet company has determined that every 50 square feet of floor coverage will require 6 hours of…
A: I give the code in Java along with output and code screenshot
Q: The Middletown Wholesale Copper Wire Company sells spools of copper wiring for $100 each and ships…
A: Program in c language
Q: The Middletown Wholesale Copper Wire Company sells spools of copper wiring for $100 each and ships…
A: The Middletown Wholesale Copper Wire Company sells spools ofcopper wiring for $100 each and ships…
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: Langkawi Ro-Ro Ferry Services Sdn. Bhd provide a services of carrying cars to Langkawi Island. As a…
A: We have to design a program for ferry service as per the given instruction. Programming Language : C…
Q: SalaryStmt.py Write a python program that accepts name of an employee and employee's yearly sales of…
A: CODE TO COPY:- numbers=int(input("Please enter no of Employee "))names=[]average=[]bonus=[]def…
Q: Nizwa AC Maintenance company has been providing Air conditioners maintenance and service for their…
A: Required:
Q: on named FindMax_697 (where 697 is last 3 digits of your student number) that accepts three…
A:
Q: Using any programming language, write a program that will solve the given problem below: Write a…
A: The answer is coded in Python Language.
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: Bob a builder has come to you to build a program for his construction business. He needs to…
A: Note: Since the programming language is not mentioned in the question so the following program is…
Q: A. USER REQUIREMENT Our University has rules and regulations that has to be followed by every…
A: Answer: C++ Source Code: #include <iostream>#include <iomanip> using namespace std;int…
Q: Bob a builder has come to you to build a program for his construction business. He needs to…
A: Given: Bob a builder has come to you to build a program for his construction business. Heneeds to…
Q: SalaryStmt.py Write a python program that accepts name of an employee and employee's yearly sales of…
A: Note: we are only allowed to solve one question in one post. I am solving the first on here. To get…
Q: Write a program that accepts as input a number indicating the number of laps a runner walked around…
A: Step 1 : Start Step 2 : Define the function laps2miles() which accepts the number of Laps as…
Q: Task: Write the full program that has the following main function. Your program should ask the user…
A: Given: Program to find area or perimeter of the rectangle.
Q: Programing C
A: To solve this problem, First of all you need to create a structure customer with three members, one…
Q: use C++ programming language Write a program that computes and displays the charges for a patient’s…
A: If the patient was an inpatient, the following data should be entered: The number of days spent in…
Q: A teacher at Leva Primary School needs to divide her class in different group sizes according to the…
A: Program: #include<bits/stdc++.h> using namespace std; int main() { int nrPupils =…
Q: create a Python program that will determine the total resistance of series and parallel circuits,…
A: We need to read in the voltage and current ,then determine the resistance , and total resistance in…
Q: In python. Write a program that calculates the BMI (Body Mass Index) of a person, which is used to…
A: #Taking Inputheight = float(input("Enter height in Meters - ")) weight = float(input("Enter weight…
Q: Fox International sells pre-paid calling card with the following features: Calls to USo 1.2 cents…
A: Java program to create the Fox International Calling Card Calculator.This program takes account…
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: a) Design an algorithm using pseudo code for a program that uses functions to calculate the total…
A:
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: Write C program (NOT C++) which takes as input a positive integer n and decides whether or not n is…
A: So according to the question, we need to write a code which will return whether a number entered by…
Q: You are assigned as programmer in a company, you notice that the employee salary is always delay due…
A: class Employee{ private: char name; int id, hourly_pay_rate,hours_worked, net_pay, gross_pay, SSS,…
Q: Develop a program that uses a function called large_is_zero(). This function takes two float…
A: Required: Develop a program that uses a function called large_is_zero(). This function takes two…
Q: PROBLEM: Write a program that computes the equivalent resistance of a purely series and purely…
A: Find the required code in C++ given as below and output:
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: A function named cube_volume has already been defined. It consumes a float value and returns a float…
A: This is the syntax which is satisfying the above requirement return type…
Q: A manufacturer wishes to determine the cost of producing an open-top cylindrical container. The…
A: C++ C++ is a cross-platform language that can be used to create high-performance applications. C++…
Q: Option 2: Write a program that will input the number of wins and losses that a baseball team…
A: Dear student, I'm providing the answer of the above question. I mentioned below C++ Code,…
Q: Using c++ Write a program that computes and displays the charges for a patient’s hospital stay.…
A: Take a variable for the service charge. Take a variable for the medication charge. Take a variable…
Q: A clinic requires a program to calculate the body mass index (BMI) and display the BMI value and…
A: Input weight in kg Input height in meter Calculate BMI=weight/height2 IF BMI<24 THEN Print "Under…
Q: In C++ A carpet company has determined that every 50 square feet of floor coverage will require 6…
A: #include<iostream>using namespace std; bool inputValidate(double);void getInfo(double&,…
Q: All task are of c++ language and done using functions. task1: Write program to print the…
A: Create a structure and initialize the values for the width and length of the roof, walls, and the…
Q: A student has established the following monthly budget: // Constants for budget amounts Housing…
A: Write a program that has a Monthly Budget structure designed to hold each of these expense…
Q: A painting company has determined that for every 112 square feet of wall space, one gallon of paint…
A: The JavaScript function and its implementation is given below: - Explanation:- Defining the…
Step by step
Solved in 5 steps with 4 images
- MSIT 501/BMME 8050 Project #1 Description: You are working for a carpeting and flooring company. You need a program to create an estimate for customers. There are three types of rooms that customers might have: square, rectangle and circle. Yes, some people have houses with rooms that are circles. The program should ask for the customer’s name and address. Then ask for the dimensions of the room, in feet. It should then determine the cost to put flooring in the room. We compute flooring based upon the area of the room in square feet. Flooring material costs $2.00 per square feet and installation costs $1.50 per square foot. The equations for calculating the square footage of rooms are as follows: • Square: area = side1 ^ 2 • Rectangle: area = side1 * side2 • Circle: area = radius ^ 2 * pi Once the user has entered the information, the program should print out the customer information. Then it should print the total square feet in the room followed by the estimate for the materials and…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…Challenge task The distance a vehicle travels can be calculated as follows: distance = speed * time For example, if a vehicle starts a trip at 10 miles and travels 40 miles per hour for 4 hours, the distance traveled is 170 miles, the first 2 hours the distance=80+10=90, and the second one=160+10=170. Write a program which reads the speed of a vehicle (in miles per hour) and how many hours it has traveled. The program should then use a for loop to display the distance the vehicle has traveled for every 2 hours of that time period. 1 Roserio ףי Constraints None
- Theater Ticket System: A small ten-seat theater has contracted you to build software which will reserve tickets. The theater has two rows of five seats each. Each row is referred to by number (1 or 2) and each seat in the row is referred to by letter (A, B, C, D, and E). When started, the program should ask the user for the row they prefer (row selection). If that row has no empty seats then the program should ask the user if they prefer the other row, if no then display a message stating the next show is tomorrow. Upon selecting a row, the program should present the user with a choice of available seats in the row. The user can then either choose a seat and print the ticket (in this case a simple message will suffice) or return to row selection. If a ticket is printed the program should return to row selection. The program terminates when all seats are reserved. Please enter a row: 1 Available seats: A B C D E Which seat, enter Q for none?: B You have booked seat: 1B…Theater Ticket System: A small ten-seat theater has contracted you to build software which will reserve tickets. The theater has two rows of five seats each. Each row is referred to by number (1 or 2) and each seat in the row is referred to by letter (A, B, C, D, and E). When started, the program should ask the user for the row they prefer (row selection). If that row has no empty seats then the program should ask the user if they prefer the other row, if no then display a message stating the next show is tomorrow. Upon selecting a row, the program should present the user with a choice of available seats in the row. The user can then either choose a seat and print the ticket (in this case a simple message will suffice) or return to row selection. If a ticket is printed the program should return to row selection. The program terminates when all seats are reserved.Bob a builder has come to you to build a program for his construction business. He needs to determine the square footage of a room in order to buy material and calculate costs.Bob charges $425 per square metre.the program is going to ask the user to enter the name of a room . It will then ask you for the width and length of a room (in metres) to be built.the program will calculate the room area and use this information to generate an approximate cost. Your program will display the room , the total area and the approximate cost to the screen
- Problem: A small company needs an interactive program to compute an employee’s paycheck. The payroll clerk will initially input the data, and given the input data, an employee's wage for the week should be displayed on the screen for the payroll check. The data for the employee includes the employee's hourly pay rate and the number of hours worked that week. Wage is equal to the employee's pay rate times the number of hours worked (up to 40 hours). If the employee worked more than 40 hours, wage is equal to the employee's pay rate times 40 hours plus 1½ times the employee's pay rate times the number of hours worked above 40. Instructions: Match the action at the left-side with the correct step number at the right-side (the attached picture). Note that it may be possible to group more than one related actions in the same logical step / process without altering the essence of the algorithm. In the program flow, input and checking of hourly pay rate should come before that of the number…Problem: An online grocery store sells items on a web page. A user adds items to a basket and he clicks on the submit button when he completes. The store sells food and electronic items. The electronic items require VAT payment of 15 percentage of their prices. There are packed and lose food. The lose food is measured in weights. User specifies the weight amount or the quantity in his selection of items depending on its type. The price is computed as the product of the price per item or the price per weight and the weight or quantity are given by the user. Write an application that reads a user basket list and produces the bill receipt. Check the given samples of input/output in the figures below. The bill receipt contains the list of item details in decreasing order according to the price computed for each item. Use the selection sort' to sort the items in the list and do not use java given sort method. Selection sort is an algorithm used to arrange elements in a list. It selects the…Fat Percentage Calculator One gram of fat has 9 calories. If you know the number of fat grams in a particular food, you can use the following formula to calculate the number of calories that come from fat in that food: Calories from fat = Fat grams × 9 If you know the food’s total calories, you can use the following formula to calculate the percentage of calories from fat: Percentage of calories from fat = Calories from fat ÷ Total calories Create an application that allows the user to enter: • The total number of calories for a food item • The number of fat grams in that food item The application should calculate and display: • The number of calories from fat • The percentage of calories that come from fat Also, the application’s form should have a CheckBox that the user can check if he or she wants to know whether the food is considered low fat. (If the calories from fat are less than 30% of the total calories of the food, the food is considered low fat.) Use the following test data…
- Installation of a Shopee Billboard Max. score: 100 You are installing a billboard and want it to be at the maximum height. The billboard will have two steel supports, one on each side. The height of each steel bracket must be equal. You have a number of rebar rods that can be welded together. For example, if the bars are of length 1, 2, and 3, they can be welded together to form a length of 6 brackets. Return the maximum possible installation height of the billboard. Return 0 if the billboard cannot be installed.Prompt Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours. Example: If an employee works 60 hours in a week, they would earn $20/hr for the first 40 hours. Then they would earn $30/hr for the 20 hours they worked overtime. Therefore, they earned: ($20/hr 40hrs)+($30/hr 20 hrs) $800+ $600 = $1400 total. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee's weekly paycheck. - Write pseudocode to design a programming solution by outlining a series of steps and using appropriate indentation and keywords. As you write your pseudocode, be sure to consider the following: What input does the computer need? What steps does the program need to follow to process the input? What output should…XYZ Company, LLC uses a program to manage the information of their employees. The program gets the name of the employee, number of hours worked and rate per hour. It computes the salary by multiplying the number of hours worked with rate per hour. If the salary is more than 1000, tax is computed as 5% of the salary, otherwise, tax is computed as 2% of the salary. The program will display the name of the employee, salary and tax.