You are a Burger and Fries stall owner that would want to automate the computation of your orders. Create a program that will compute the total amount of purchases. This program requires the user to enter the number of orders (pieces) per item and a Discount Rate once the button is clicked it will display the total amount payable: Given the ff. data: Burger is 25.00 per order Fries is 30.00 per order Discount Rate (set by user) Discount Multiplier is Calculated as : (100 - Discount Rate) x 0.01 Format the result into two decimal places: ObjectName.Text = Format(variable, "###, ###.00") Sample Output: Purchase Calculator Cash Register
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 palindromic prime is a prime number and also palindromic. For example, 131 is a prime and also a…
A: According to the Question below the Solution: Output:
Q: hallenge Problem (pyhton) T E S T S C O R E S Write a program that…
A: Program Approach: 1- As mentioned in the assignment created the main function. 2- def keyword used…
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: You work in a local gift shop that is currently running a large sale. You have been asked to create…
A: You have not mentioned the programming language choice. We will help you out with this in java.
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: Write a program that can be used to assign seats for a commercial airplane. The airplane has 13…
A: NOTE: - Below code is implemented in c++. PROGRAM EXPLANATION: - The airplane has 13 rows with 6…
Q: Write a program for a pharmacy to generate bills. The program should ask about the code associated…
A: The program is written in C++ #include <iomanip> #include <iostream> using namespace…
Q: Write a program which should display 4 items (keyboard, mouse, monitor and speaker) with their…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it…
Q: Write a program that makes use of random number generator from Math.random(). When finished, the…
A: Java language contains the API class called Math. The class Math contains several mathematical…
Q: Write a simple payroll program that will display employee's information. The program should perform…
A: Given The answer is given below
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: Write a program that will allow a grocery store to keep track of the total number of bottles…
A: The solution of the given problem is given below:
Q: In business applications, youare often asked to compute the mean and standard deviation of data. The…
A: Program Plan: input number using for loop. Use for loop to compute mean. Use another for loop to…
Q: Write a program that makes use of random number generator from Math.random(). When finished, the…
A: Required: Write a program that makes use of random number generator from Math.random(). Required…
Q: AGU Computer Engineering Department created a new mathematical game that can be played with two…
A: Using JAVA To generate random numbers in JAVA we use Math.random() function to generate numbers…
Q: Write a program that calculates the amount of money a person would earn over a period of time if the…
A: Algorithm : Step 1 : declare variables. Step 2 : create object of scanner class to take input. Step…
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: 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: 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: C++ Create a program for a new school where it promps the user for a student number in the school…
A: We need to write a C++ code for the given scenario.
Q: You have been hired by a local organic sod company to write coverage calculator for their website.…
A: PROGRAM INTRODUCTION: Take the length from the user. Take the width from the user. Calculate the…
Q: Write a program that will allow a grocery store to keep track of the total number of bottles…
A: Pseudocode:- Pseudocode is a made-up, informal programming language that helps programmers create…
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: Rebecca Oyewole Project 4 This program calculates a customer receipt # showing each item ordered,…
A: Answer is given below-
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: 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: 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: In various applications, you are often asked to compute the mean and standard deviation of data. The…
A: Since no programming language is mentioned, I am using java Code: import java.util.*;public class…
Q: Exercise 4: Write a program that reads how much a customer spends on groceries and computes the…
A: Write a problem, input, output , algorithm,comments and design a python program Note: Please make…
Q: Write a program that calculates and prints the monthly pay check for an employee. The net pay is…
A: Define header file <iostream> for i/o operations. Define header file <iomanip> for…
Q: Write a program named TypingGrades that allows a user to enter a student’s number of words typed.…
A: Algorithm: Start READ numWords IF numWords<= 15 then: grade='F'ELSE IF numWords<=30 then:…
Q: Write a program that calculates the amount of money a person would earn over a period of time I f…
A: According to the information given:- We have to follow the instruction in order to get the desired…
Q: A Fibonacci Number sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... The next…
A: #include <iostream>using namespace std; void FibonacciNumber(int n, int &fib_no){ int a…
Q: Python Programming. Write a program that computes how much a customer has to pay after purchasing…
A: According to the information given:- We have to follow the instruction mentioned to get the desired…
Q: GU Computer Engineering Department created a new mathematical game that can be played with two…
A: Given: We have given a problem where two people green and red play a game. There is a list of n…
Q: Write a simple payroll program that will display the employee's information, The program should…
A: Question given: Write a Java program that display employee's payroll information. Ask from user…
Q: Write a program that calculates the amount of money a person would earn over a period of time if his…
A: Here,write a program that calculates the amount of money a person would earn over a period of time…
Q: You have been hired by a local organic sod company to write coverage calculator for their website.…
A: PROGRAM INTRODUCTION: Take the length from the user. Take the width from the user. Calculate the…
Q: A teacher would like his students to play a small game. The rules of the game require that the…
A: #include <iostream>using namespace std;int main(){ double number,score; string color;…
Q: Transient PopulationPopulations are affected by the birth and death rate, as well as the number of…
A: Program:#include <iostream>using namespace std;double population(double P, double B, double D,…
Q: In various applications, you are often asked to compute the mean and standard deviation of data. The…
A: Mean The mean of the data is sum of the values of all data and then dividing it with total number of…
Q: Write a console program, that will calculate the pocket money saved over a period, with one cent at…
A: We need to write a console program for mentioned functionality. The language used is JAVA.
Q: Write a program that calculates and displays a person's body mass index (BMI). The BMI is often used…
A: Below is the required C++ program: - Explanation: - Importing the header files and the namespace.…
Q: HangmanAA.java For this program, you will create the game Hangman. (If you are unsure of how to…
A: Programming instructions: Create a class. In the main, create a scanner object to take input from…
Q: 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: Hello student Greetings Hope you are doing great. As you have not mentioned any particular language…
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)…
using Visual Basic or VB.net
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- In your favorite open world adventure video game, currency conversion is as given below: 1 Gold coin 23 Bolts 1 Gem 13 Gold coins Write a program that takes a number of Bolts as user input (as an integer) and converts it to the number of whole Gems, Gold coins, and Bolts as shown below. The conversion information between these measurement metrics is provided in the table above. The number of Bolts should be converted in such a way that maximizes the whole number of Gems and Gold coins. Expected output 1 (bold is user input) Enter the number of Bolts: 32 0 Gems(s) 1 Gold coin(s) 9 Bolt(s) Expected output 2 (bold is user input) Enter the number of Bolts: 3000 10 Gem(s) 0 Gold coin(s) 10 Bolt(s) The file should be named as convertCurrency.cpp. Don’t forget to head over to Coderunner on Canvas and paste your solution in the answer box!You are working for a lumber company, and your employer would like a program that calculates the cost of lumber for an order. The company sells pine, fir, cedar, maple, and oak lumber. Lumber is priced by board feet. One board foot equals one square foot that is one inch thick. Theprice per board foot is given in the following table: Pine 0.89Fir 1.09Cedar 2.26Maple 4.50Oak 3.10 The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 5.333 board feet). An entry from the user will be in the form of a letter and four integer numbers. The integers are the number of pieces, width, height, and length. The letter will be one of P, F, C, M, O (corresponding to the five kinds of wood) or T, meaning total. When the letter is T, there are no…Write a program that computes the molecular weight of a carbohydrate (ingrams per mole) based on the number of hydrogen, carbon, and oxygenatoms in the molecule. The program should prompt the user to enter thenumber of hydrogen atoms, the number of carbon atoms, and the numberof oxygen atoms. The program then prints the total combined molecularweight of all the atoms based on these individual atom weights:Atom Weight(grams I mole)H 1.00794c 12.01070 15.9994For example, the molecular weight of water (H20) is: 2(1.00794) +15.9994 = 18.01528.
- You are working for a lumber company, and your employer would like a program that calculates the cost of lumber for an order. The company sells pine, fir, cedar, maple, and oak lumber. Lumber is priced by board feet. One board foot equals one square foot that is one inch thick. Theprice per board foot is given in the following table: Pine 0.89Fir 1.09Cedar 2.26 Maple 4.50Oak 3.10 The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 5.333 board feet). An entry from the user will be in the form of a letter and four integer numbers. The integers are the number of pieces, width, height, and length. The letter will be one of P, F, C, M, O (corresponding to the five kinds of wood) or T, meaning total. When the letter is T, there are no…The Research team led by Bernadette Wolowitz at Cal-tech University has discovered a new Amoeba that grows in the order of a Fibonacci series every month. They are exhibiting this amoeba in a national. conference. They want to know the size of the amoeba at a particular time instant. If a particular month's index is given, write a program to display the amoeba's size. For Example, the size of the amoeba on month 1, 2, 3, 4, 5, 6,... will be 0, 1, 1, 2, 3, 5, 8.... respectively.In Python Write a program that computes the fuel efficiency for a multi-leg journey. The program will first prompt for the starting odometer reading and then get information about a series of legs. For each leg, the user enters the current odometer reading and the amount of gas used (separated by a space). The user signals the end of the trip with a blank line. The program should print the miles per gallon achieved on each leg and the total MPG for the trip
- THIS IS C++ Martin wants to create a program that requires the user to input 10 integers then print the total numberof even integers, highest even integer, lowest even integer, total number of odd integers, highest oddinteger, and lowest odd integer. If, however, the user inputs zero (0), the program will display “You havenot yet entered 10 integers.”Below is the sample output of the program Martin created.Enter the integers:Integer 1: 15Integer 2: 9Integer 3: 71Integer 4: 35Integer 5: 17Integer 6: 13Integer 7: 63Integer 8: 33Integer 9: 97Integer 10: 13Total number of even integers : 0Highest even integer : noneLowest even integer : noneTotal number of odd integers : 10Highest odd integer : 97Lowest odd intege QUESTION: 1. What conditional operation is requires producing counting the even numbers? 2. What conditional operation is requires producing counting the odd numbers? 3. What are the variables needed to produce the desired output? 4. What did you observe in arranging the…This is C++ Martin wants to create a program that requires the user to input 10 integers then print the total numberof even integers, highest even integer, lowest even integer, total number of odd integers, highest oddinteger, and lowest odd integer. If, however, the user inputs zero (0), the program will display “You havenot yet entered 10 integers.”Below is the sample output of the program Martin created.Enter the integers:Integer 1: 15Integer 2: 9Integer 3: 71Integer 4: 35Integer 5: 17Integer 6: 13Integer 7: 63Integer 8: 33Integer 9: 97Integer 10: 13Total number of even integers : 0Highest even integer : noneLowest even integer : noneTotal number of odd integers : 10Highest odd integer : 97Lowest odd integer QUESTION: Write the corresponding algorithma. Narrative C. Algorithm b. Pseudocode2. Create the equivalent flowchart based on the algorithm of the given problem.3. Construct the program and record your screen display resultWrite a program that prints a grocery receipt of items purchased. The program must create variables for the following items: Milk = $2.00 Eggs = $ 3.00 Bread =$4.00 Orange Juice =$3.50 Apples = $4.00 Cookies = $3.25 Water = $3.00 A coupon of $1.00 was used. use a constant for a coupon. Calculate the bill, assume that 1 unit of all items was purchased
- can you help me to correct this 1. Write a program that accepts from the user a unit price of a certain product and the quantity of that product bought by a customer. It should compute and display the amount payable. #include <stdio.h> int main (){float unitPrice, amount;int quantity;printf("Enter the unit price of a product: ");scanf(unitPrice);printf("Enter the quantity of that product: ");scanf(quantity); amount = unitPrice * quantity; prinf("Amount Payable: "amount);return 0;}In Chapter 4, you created a program that generates a random number, allows a user to guess it, and displays a message indicating whether the guess is too low, too high, or correct. Now, create a modified program called GuessingGame2 in which the user can continue to enter values until the correct guess is made. After the user guesses correctly, display the number of guesses made. Recall that you can generate a random number whose value is at least min and less than max using the following statements: Random ranNumber = new Random(); int randomNumber; randomNumber = ranNumber.Next(min, max);this is the program, only problem is that I am not able to get Your total is 22 out of 30, or 73.33%. this statment, can you please help? 13.Write a program that calculates the total grade for N classroom exercisesas a percentage. The user should input the value for N followed by each ofthe N scores and totals. Calculate the overall percentage (sum of the totalpoints earned divided by the total points possible) and output it as a percentage.Sample input and output is shown below.How many exercises to input? 3Score received for exercise 1: 10Total points possible for exercise 1: 10Score received for exercise 2: 7Total points possible for exercise 2: 12Score received for exercise 3: 5Total points possible for exercise 3: 8Your total is 22 out of 30, or 73.33%. my solution. //declare variablesstring exercise1;string exercise2;string exercise3;string exercises;string totalexercise1;string totalexercise2;string totalexercise3;string yourtotal;yourtotal = exercise1 + exercise2 +…