Write a program that helps a company manage salaries of its employees. Your program should ask for the number of hours worked and the hourly rate of an employee than, display the salary This program should allow the user to enter the information of many emplovees
Q: a program that stores and prints the months of a year:
A: a program that stores and prints the months of a year:
Q: Write a program that will check the employees years in service and office. • The user will input…
A: For writing the above code, we have used c++ language. Coding in the c++ is easy and efficient. It…
Q: Write a program that computes the tax and tip on a restauran t bill for a patron with a$44.50 meal…
A: #include <stdio.h> int main(){ float meal=44.50,tax,tip,total; tax=(meal/100)*6.75;…
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: (Java) Write a program that reads two numbers from the keyboard representing, respectively, an…
A: the answer is given below:-
Q: Write a program that can be used to assign seats for a commercial airplane. The airplane has 13…
A: As no programming language is mentioned, so I am using C++. In step 2, you will get C++ code. In…
Q: Write a program to ask user to enter number of codes. Assign a letter for each code and possibility.…
A: The code is given below
Q: usiness that uses functions to calculate the weekly payment amounts of employees in a workplace. you…
A: A business that uses functions to calculate the weekly payment amounts of employees in a…
Q: Write a program that allows a player to play Rock, Paper, Scissors. In this version, if there is a…
A: Find the required code in python as language not mentioned given as below and output :
Q: Write a program that calculates and displays a person’s body mass index (BMI). A person’s BMI is…
A: According to the Question below the Solution: Program Output:
Q: Write a program that calculates the estimated hours and minutes for a trip given the number of miles…
A: Given: Write a program that calculates the estimated hours and minutes for a trip given the number…
Q: An internet service provider has three different subscription packages for its customers:…
A: In this JAVA program, We have to calculate the total bill for number of hour watched and package…
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 reads from the user the cinema ticket price and the number of history cinema…
A: Hi, Since Programming language is not mentioned I have used Python.
Q: Write a program that asks for the principal, the annual interest rate, and the number of times the…
A: Hello student. Greetings Hope you are doing great. As you have not mentioned any particular…
Q: How do I solve this 3 step problem dealing with fitness and calorie tracking in java? thnks and…
A: Hello. Since you have posted multiple questions and not specified which question needs to be solved,…
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: You'll be creating a program that will find a donut shop at the user's provided zip-code and…
A: The Complete answer in Java Programming is below:
Q: Write an application that allows you to enter nine(and only nine, no more no less) integers and…
A: Introduction of the Program: The Java program takes 9 integers from the user as input and then the…
Q: Write a program that computes and displays the charges for a patient's hospital stay. First, the…
A: Program: // Header files section#includeusing namespace std; //Functions prototypesdouble…
Q: Write a program that calculates the cost of 3 bags of fruit. The 4 possible fruits are pears which…
A: A loop is used to execute a block of code several times. The number of iterations is based on a…
Q: Write an application that prompts a user for two integers and displays every integer between them.…
A: Hey, you haven't mentioned the programming language. So, we are using java to solve this question.
Q: Ask the user for a name and for a list of test scores. Show the number of tests taken and the…
A: Here I have taken input from the user for the name and then created a list to store the marks. Next,…
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: Write a program that computes and displays the charges for a patient’s hospital stay. First, the…
A: Since you haven't mentioned the programming language, we are answering this in C#.
Q: Write a program that asks the user for the number of males and the number of females registered in a…
A: Note: As no language is specified, answering the given coding question in python language. # Input…
Q: Write a program in Java Write a program that has variables to hold three test scores. The program…
A: Java is programming language. It contains extensive libraries (packages). It can be used to create…
Q: Develop a program that calculates the final score and the average score for a student from his/her…
A: Start Input Name Input Scores Calculate sum Calculate average Stop
Q: 8. Write and run a program that reads the user's age and then prints "You are a child." if the age <…
A: As Bartleby guidelines i can solve one question at a time so please post another question again.…
Q: You are to design and create a program that takes in a price from the user (as a decimal without a…
A: Program Code: import java.util.Scanner;import java.text.DecimalFormat;public class register {…
Q: Write a program that computes and displays the charges for a patient’s hospital stay. First, the…
A: Program: #include <iostream> #include <iomanip> using namespace std; void…
Q: How do i solve this problem in python? ( has 3 steps)
A: NOTE:The given information is incomplete (Formula to calculate the minutes to walk or run for a…
Q: Write a program that computes and displays the charges for a patient's hospital stay. First, the…
A: The above question is solved in step 2 :-
Q: 8 Write a application that recites a usual of numbers, and then bargains and designs the amount of…
A: Write a application that recites a usual of numbers, and then bargains and designs the amount of the…
Q: Write a program that computes the body mass index (BMI) of an individual. Your program should begin…
A: Note : Here I have asked for the height in inches and weight in pounds from user. Algorithm : Step…
Q: You are teacher at any school and student want to play a game.so you designed a name in which the…
A: Required:- You are a teacher at any school and students want to play a game. so you designed a game…
Q: Write a program that asks the user to enter the monthly costs for the following expensesincurred…
A: Code def main(): print('Enter monthly expenses')loan = float(input('Enter loan payment amount:…
Q: write a program in c++ in which A Paint Company has asked you to write an application that…
A: Note: Formula for calculating the area of a room is considered as length * width. area = length *…
Q: Write a program that reads from a student his/her name and his/her ID whic program should display…
A: import java.util.Scanner;public class Main{ public static String getDay(int code){ // divide code…
Q: write a psesudocode for a program that calculates the bill of a sandwich stand. The program should…
A: I have provided pseudocode for given program.
Q: BMI Calculation
A: Program: // C++ Version 14#include <iostream>#include <cmath>using namespace std;//…
Q: Write a program that lets the user enter the loan amount and loan period in number of years and…
A: Program in java for calculation of monthly and total payments for each interest rate. import…
Q: Write a program that calculate electricity bill. The program prompts the user to enter the amount of…
A: C program #include <stdio.h>int main(){ int un; float amt; /* Input units consumed…
Q: Write a program named TypingGrades that allows a user to enter a student's number of words typed.…
A: Conditional statement: The conditional statement is used to control the flow of execution based on…
Q: Can you create a flowgorithm for this below?
A: #include<stdio.h> #include<stdlib.h> #include<stdbool.h>…
Q: • Write a program that computes the average of 5 students grades which are entered by the user.…
A: Please find the answer below :
Q: Write a program that can be used by a small theater to sell tickets for performances. The theater’s…
A: Write a program that can be used by a small theater to sell tickets forperformances. The theater’s…
Q: Write a C# program named TestScoreList that accepts eight int values representing student test…
A: Hi. Let's move on to the code in the next step. I have included comments in the code that will…
Step by step
Solved in 3 steps with 2 images
- Write a program that simulates the proverbial game of Russian Roulette. Theprogram will prompt the user with how many players will be in the game where amaximum of 50 players can play. The program will next prompt the user to enter a “badnumber” between 1 and 6. Once entered, the program will go in turn to each player thatis in the game and assign a random number between 1 and 6 and compare it to the “badnumber”. If there is a match, then that player is out of the game. If there is no match,then that player remains in the game. Once all the players go this process, the processrepeats again in the next round for the remaining players starting again with the firstplayer that is still in the game. Only players that are still in the game will receive arandom number and have it compared to the “bad number”. If a player is out of thegame, then the player is ignored and does not receive a random number. This processcontinues to repeat this way round by round until only one player remains who…Write a program that prompts the user to input five decimal numbers. The program should then add thefive decimal numbers, convert the sum to the nearest integer, and print the result. Use the static_caststatement with an appropriate equation to convert the sum to an integer. Compile and run yourprogram with the following test data:Case 1: Input: 5.1, 5.1, 5.1, 5.1, 5.1. Expected Output: 26.Case 2: Input: 5.0, 5.0, 5.0, 5.0, 5.0. Expected Output: 25. The language is C++Write a program to calculate total ordering cost. Jacob is a retailer for ice. Normally a bag of ice costs $2.5, but the price varies with the amount that he purchases. The following table shows the discount that Jacob receives. Order Volume Discount Rate >= 200 bags 25% off 120 - 199 bags 20% off 60 - 119 bags 15% off 40 -59 bags 10% off 20 – 39 bags 5.5% off 0-19 bags No discount (1) Inyourprogram,definevariableswithmeaningfulnamestoacceptuserinputonordervolume, and calculate total ordering cost based on the order volume inputted. Use if-else statements to handle the calculations for different order volumes as shown in the above table. (2) Yourprogramshouldprintoutuserordervolume,discountrate,andtotalorderingcostinconsole (similar to the following sample outputs)
- Write a program that implements a tip calculator. Your program should ask the user for the bill amount and the percentage of the tip, and then output the dollar amount of the tip and the final bill in three different formats. (see sample below) Example: Enter the bill amount: 27.95 Enter tip percentage: 17 A 17.0% tip on $27.95 equals $4.7515. The total bill is: 32.701499999999996 The total bill is $32.7. The total bill is $32.70.In C++ language, create a program that gets quarterly sales from a user, and calculates the total of all four quarters as well as the average, lowest, and highest quarters. Console Example that should be used/followed when executed The Quarterly Sales program Enter sales for Q1: 12312.57 Enter sales for Q2: 15293.21 Enter sales for Q3: 14920.95 Enter sales for Q4: 23432.21 Total: 65958.94 Average Quarter: 16489.74 Lowest Quarter: 12312.57 Highest Quarter: 23432.21 Specifications: Create the pseudocode needed to implement the solution above. Convert your pseudocode to C++ code including the following specifications: Round the average quarter to a maximum of 2 decimal digits. Use a vector to store the sales for each quarter. Use STL algorithms to process the data for the quarters. Please make sure the average is ROUNDED 2 places to get the output 16489.74 instead of 16489.73Write a program that verifies the delimiters in a line of text or expression typed by theuser. In this case, we will take an arithmetic expression like a*(b+c)+[c/(a-b)]. Yourprogram needs to validate the expression such that opening and closing brackets areproper or not which means the brackets are balanced or not.
- in Java, Write a program that reads student scores, gets the best score, and then assigns grades based on the following scheme:• Grade is A if score is ≥ best − 10• Grade is B if score is ≥ best − 20;• Grade is C if score is ≥ best − 30;• Grade is D if score is ≥ best − 40;• Grade is F otherwise.The program prompts the user to enter the total number of students, then prompts the user to enter all of the scores, and concludes by displaying the grades. Here is a sample run: number of students: 4 scores are: 40.0, 55.0, 70.0, 58.0 Student 0 score is 40.0 and grade is C Student 1 score is 55.0 and grade is B Student 2 score is 70.0 and grade is A Student 3 score is 58.0 and grade is BPython programming In a department store sale, customers who purchase over 2000 are given 10% discount. Write a program that will accept for the purchase amount of a customer, solve for his/her discount if there’s any, ask for the money he/she is going to pay, then output the discounted price and the change of the customer.”Write an improved version of the futval . py program from Chapter 2.Your program will prompt the user for the amount of the investment, theannualized interest rate, and the number of years of the investment. Theprogram will then output a nicely formatted table that tracks the value ofthe investment year by year. Your output might look something like this: Year Value----------------0 $2000 . 001 $2200 . 002 $2420 . 003 $2662 . 004 $2928 . 205 $3221 . 026 $3542 . 127 $3897 . 43
- Write a program to process a collection of the speeds of vehicles. Yourprogram should count and print the number of vehicles moving at a highspeed (90 miles/hour or higher), the number of vehicles moving at amedium speed (50–90 miles/hour), and the number of vehicles moving ata slow speed (less than 50 miles/hour). It should also display the categoryof each vehicle. Test your program on the following data:Speed of vehicles (in miles): 43 23 54 57 68 67 51 90 33 22 1188 34 52 75 12 78 32 89 14 65 67 97 53 10 47 34b. Modify your program to display the average speed of a vehicle (a realnumber) at the end of the run.Write a program that asks users when their birthday is. Use information provided to give them their astrological sign. Each of the twelve signs should display a different horoscope. Use the following dates for each sign, keeping in mind that both month and day must be evaluated for an accurate result. Aries: March 21–April 20 Taurus: April 21–May 21 Gemini: May 22–June 21 Cancer: June 22–July 22 Leo: July 23–August 22 Virgo: August 23–September 23 Libra: September 24–October 23 Scorpio: October 24–November 22 Sagittarius: November 23–December 21 Capricorn: December 22–January 20 Aquarius: January 21–February 19 Pisces: February 20–March 20Write a program that gives simple math quizzes. The program should display two randomnumbers that are to be added, such as:247+ 129The program should allow the student to enter the answer. If the answer is correct, a message of congratulations should be displayed. If the answer is incorrect, a message showing the correct answer should be displayed.