Write a program that will Input the name , position of the employee , Input the rate per hour, hours worked. Compute the Gross pay for an employee.
Q: Write a Python program that computes the rent in five years and the total rent for one year starting…
A: Given: Write a Python program that computes the rent in five years and the total rent for one year…
Q: Write a program that prompts for and reads the radius and the height of a cylinder (in centimeters).…
A: Answer : Here is the C++ code: //included header file #include<iostream> //included namespace…
Q: Write a program called celsius_to_fahrenheit which prompts the user for a Celsius temperature,…
A: Algorithm / Steps: User input for celsius temperature Converting celsius temp to Fahrenheit temp…
Q: Write a Python program that prompts the user for the cost of two items to be purchased. Then prompt…
A: PROGRAM EXPLANATION: Start. Take the cost of the first item as input. Take the cost of the second…
Q: Write a program that will compute for the salesman's commission based from his total sales for the…
A: As no programming language is mentioned, it is solved using basic C++
Q: Write a program that reads in a room number, the room's capacity, and the size of the class enrolled…
A: Flow Chart : A flow chart is a picture of the seperate steps of a process in sequential order. A…
Q: Write a program that will check and print if the person is a regular passenger, student or senior…
A: Program Code: #include<stdio.h>#include<conio.h>main(){ int ch,fare; printf("If you are…
Q: Write a program that computes and assesse the tuition fee of the students in one semester, based on…
A: Algorithm: 1. Start. 2. Read the tuition fee as tuition_fee. 3. Read payment mode (Press (1) - Cash,…
Q: Write a python program that takes a sale amount as an input and print the discount given based on…
A: Please find the answer below :
Q: write a program in VB that requires from user to insert the total number of students and the number…
A: ' Program that reads total student and successful student and calculate' and display percentage of…
Q: Write a program that prompts the capacity, in gallons, of an automobile fuel tank and the miles per…
A: Program: //include the header file #include <iostream> using namespace std; //definition of…
Q: ncreme
A: The program provided below calculates flame theoretical temperature when a mixture of methane,…
Q: Write a program to read X and print Sin X if X>0, square root X f X<0 and absolute X if X/2 is…
A: PROGRAM CODE: #include <iostream>using namespace std;#include <conio.h>#include…
Q: Write a program that converts temperature from Celsius to Fahrenheit and Fahrenheit to Celsius. The…
A: Program is below as per requirements with commented explanation and output.
Q: Write a program that reads the employe name and base salary and then calculat
A: #include <iostream>using namespace std; int main(){ int base_salary; string name; // input…
Q: Write a Java program that calculates the average student's score and percentage
A: Required: Write a Java program that calculates the average student's score and percentage
Q: Write a program that asks the user for a line of text and counts how many spaces, periods, or commas…
A: Since you have not mentioned any language, i will code it in python.
Q: Write a program that will ask the user to input a letter 'm' or 'f and then it will display "Hello…
A:
Q: Write a program whose inputs are three integers, and whose output is the smallest of the three…
A: Given: Three integers given as input from user. Requirement: Write a program in python language to…
Q: Write a program to read and print 6 temperatures for 6 days and find the average for these degrees…
A: Since programming language was not mentioned , so I used PYTHON-- I have provided PYTHON CODE…
Q: Write a program that prompts the user to enter the three dimensions, possibly with decimals, of a…
A: //Solution in C++ #include<iostream>#include <iomanip>using namespace std;int main(){…
Q: Write a python program to read average bill of a supermarket as input and print the message…
A: avgbil = int(input('Enter average bill: '))if 0<=avgbil<=75: print("Normal")elif…
Q: write a program that read an excel sheet that contains some animals' information. The information…
A: Below is the Python program for:- write a program that read an excel sheet that contains some…
Q: Write a program that prints a grocery receipt of items purchased.
A: The Given program is to print a grocery receipt
Q: Write a python program that takes a sale amount as an input and print the discount percentage given…
A: Algorithm Start Var amt, discount Input amt from user If (amt>=10 AND amt<90 )…
Q: Write a program to take title, first name, last name and then print greeting card
A: Write a program in JAVA language that takes input title, first name, last name from user and prints…
Q: Write a program that will ask the user to enter an integer number and display the message r even…
A: An even number is a 2-fold integer. An integer not precisely divided by 2 is a mysterious number.…
Q: Write a python program and take two inputs from the user. The first input will be the number of…
A: #reading two inputs from usernumberOfCanvases = int(input('Enter number of…
Q: Write a program that will count the number of votes for each candidate, show the total number of…
A: Use an array to store the votes for each candidate and keep on voting till user wish to quit
Q: Write a program that works out whether if a given year is a leap year. A normal year has 365 days,…
A: As no programming language is mentioned, it is solved using basic C++
Q: Write a numpy program to get the dates of today, yesterday, day before yesterday, tomorrow, day…
A: #importing numpyimport numpy #getting todays date using datetime64 function…
Q: Write down a program that will take an English letter as input and will print the next letter in the…
A: Input a character and then add 1 to it and display the updated character
Q: Write a program that prompts the user to enter the number of items and each item’s name and price,…
A: Note: As programming language is not mentioned. So used Python to complete the task. Program: #…
Q: Write a python program that asks the user how many credits they have taken. If they have taken 23 or…
A: Python program Prompt the user to enter the credits they have taken. Store the user entered…
Q: Write a program to read to read basic salary and allowance and display the total salary. (Total…
A: #include <iostream> using namespace std; int main(){ int…
Q: Write a program that reads the price and the production date(month and year of an item) then prints…
A: % read price and production price = input('Enter price'); production_month = input('Enter production…
Q: Write a program that computes the fare on the Copenhagen Transit system given two inputs from the…
A: The fare on Copenhagen Transit is specified as follows:If the zone is 2 or smaller and the ticket…
Q: Write a python program that takes a sale amount as an input and print the discount percentage given…
A: Step 1 : create a variable amt get input from user in int Step 2 : check if it is greater than 0 or…
Q: . Write a program that computes the theoretical flame temperature when a mixture of methane,…
A: This program provided below calculates flame theoretical temperature when a mixture of methane,…
Q: Write a program that computes the cost of postage on a first-class letter according to the following…
A: Use an if-else block to find the cost of postage and then another if-else block to check for special…
Q: Write a program that can be used to compute the average exam grade for multiple students. Each…
A: You have not specified any particular programming language so, I have provided a python code…
Q: Write a program that can be used to compare the prices per square inch for two pizzas. For each…
A: Algorithm : Step 1 : create object of scanner class to take input. Step 2 : ask for the diameters…
Q: Write a program that calculates the cost per square inch of a circular pizza,given its diameter and…
A: We need to find the per square inch of any circular pizza where diameter and price of pizza will be…
Q: Write a program that given an amount of change less than $1.00 will print out exactly how many…
A: 1) Since you have not specified programing language, I have written program in python 2) Below is…
Q: Write a program that reads the 10 student grades () from keyboard and calculates the class average.
A: Code in python programming language #Program to read grades of 10 students from teh keyboard and…
Q: Write a program that asks the number of students and then asks to enter the student's mark and then…
A: As the programming language is not mentioned, we are using PYTHON here The code and output…
Q: Write a program that enters the time of a phone call in seconds. If the duration of the call is a…
A: Solution: Include necessary header files In the main method declare the variable time and balance…
Write a
Input the rate per hour, hours worked. Compute the Gross pay for an
employee.
Step by step
Solved in 2 steps with 1 images
- Write a program that asks the user how many credit units they have taken. If they have taken 23 or less, print that the student is a freshman. If they have taken between 24 and 53, print that they are a sophomore. The range for juniors is 54 to 83, and for seniors it is 84 and over.Write a program that will count the number of votes for each candidate, show the total number of voters, the number of votes, and the percentage of votes made for each college candidate. Show the highest percentage of votesWrite a program that prompts the capacity, in gallons, of an automobile fuel tank and the miles per gallon theautomobile can be driven without refueling.
- Write a program that reads the result of 10 games played by a team and find the percentage of games won by the team. Output the percentage games won. Write an IPO Chart that reads the result of 10 games played by a team and find the percentage of games won by the team. Output the percentage games won.Write a program that can suggest an activity based on the temperature. If the temperature is between 20 to 40 degrees Fahrenheit, suggest the user go skiing; if the temperature is between 41 to 60 degrees Fahrenheit, suggest the user go hiking; if the temperature is in the range of 61 to 80, suggest swimming. For all the temperatures out of these ranges (too cold or too hot), then suggest staying inside.Write a program that reads a person's first and last names separated by a space, assuming the first and last names are both single words. Then the program outputs last name, first name. End with newline. Example output if the input is: Maya Jones Jones, Maya
- write a program that reads the height in centimeters and then converts the height to feet and inches.Write a program that prompts the user to enter the three dimensions, possibly with decimals, of a cardboard shipping box. The program should then print the volume of the box accurate to two decimal places and the total surface area of the box accurate to three decimal places.Write a Python program that computes the rent in five years and the total rent for one year starting five years from now
- Write a python program that asks the user how many credits they have taken. If they have taken 23 or less, print that the student is a freshman. If they have taken between 24 and 53, print that they are a sophomore. The range for juniors is 54 to 83, and for seniors it is 84 and overWrite a program that would input the radius of a circle and output the area, circumference and diameter.Write a program that determines the distance to a lightning strike based onthe time elapsed between the flash and the sound of thunder. The speedof sound is approximately 1100 ft/ sec and 1 mile is 5280 ft.