Write the IPO CHART and Pseudocode. Write a program that will compute the total amount of a dress. The original price of the dress is 150 pesos. The discount rate is 5%. Display the total amount of the dress after
Q: Use C language: Write a program which asks the user to input a whole number representing the total…
A: The C code is given below with code and output screenshot All the best ?
Q: hat will compute the students average • The user will input the following: Name Math …
A: HI, Since the programming language is not mentioned i used python
Q: Write a program that prompts the user to enter the number of study hours of a student and the…
A: Algorithm Start Accept h, n Accept h from user Accept n from user If(n>=4 and h<26), go to…
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: Write a program that simulates rolling a pair of dice. The program should ask the user for what the…
A: program that simulates rolling a pair of dice. The program should ask the user for what the target…
Q: Write a program that will read a number from the keyboard. If 60≤number≤100 , display “Pass”, if…
A: Conditional Statement in C: Conditional statements in C execute sequentially based on the some…
Q: write a program to calculate electricity bill charged to a consumer.Ask him to enter the unit…
A: Program: #include <stdio.h> /* Main Function */ int main() { /* Declare the variables */…
Q: Write a program which reads two integer values. If the first is less than the second, print the…
A: Here I have declared 2 variables num1 and num2 of integer data type. Next, I have taken input from…
Q: Write a program called CashRegister.cpp. The program should prompt the user for each item they are…
A: Create two seperate vector one store item price and second one atore item list. Don't write full…
Q: Write the pseudo code for this problem based on what you learned from the video. The purpose is to…
A: - The question is to write the pseudocode for the problem of conversion from kilometres to miles.
Q: Write a program that calculates the electricity bill. The rates of electricity per unit are as…
A: A function is a square of code which possibly runs when it is called. You can pass information,…
Q: Write the pseudocode on a piece of paper and explain your answer. 1. Write the pseudocode to…
A: Required: Write the pseudocode on a piece of paper and explain your answer. 1. Write the pseudocode…
Q: [python language] Write a program that takes a single user input then outputs the type of data…
A: HI THEREI AM ADDING ANSWER BELOWPLEASE GO THROUGH ITTHANK YOU
Q: Using a Decision Control Structure (if), create a program that reads a commodity code, quantity of…
A: import java.util.*; public class CommodityCode { public static void main(string[] args) { Scanner…
Q: Write a pseudocode that directs a cashier how to give change. The program has two inputs: the amount…
A: - The question wants to have the code for the currency exchange program.
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: In New York City a room can be called a bedroom if its area is larger than 80 sq.ft and both the…
A: Note: - As the programming language is not mentioned so I am writing the program in Java. Below is…
Q: Girl Scout Troop 815 has 18 members. Write the pseudocode for a program in which the troop can enter…
A: The following the required pseudo code for display the total number of boxes sold and calculate…
Q: Write a program that asks for the borrower's lastname, borrower's first name, borrower's middle…
A: According to the question there is no specific programming language mentioned. We have solved the…
Q: Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time…
A: Note: As no language is mentioned, therefore answering the given question in python. Input : age…
Q: Im kind of lost. Could someone help me please? Draw the hierarchy chart and then plan the logic for…
A: double height,weight; //module 1 cout<<"Enter height in inches: "; cin>>height;…
Q: Write a program that will ask the user to enter salary amount. And then compute for the TAX amount.…
A: As the language is not specified answer written in c++ 1)Read input 2)Using if else check…
Q: Write the pseudocode on a piece of paper and explain your answer. 1.Write the pseudocode to…
A: Below are the answers with required explanation:
Q: write a program that asks the user for the length and width of a rectangle, the program should…
A: According to the question below the solution: Output:
Q: Use C language: Write a program which asks the user to input a whole number representing the total…
A: Algorithm: Start of the program Declare necessary variable Read the price variable Based on price…
Q: Write a program the lets the user input the resistance of four resistors in a circuit. Process the…
A: We need to write a program the lets the user input the resistance of four resistors in a…
Q: Analyze the following code: int x = 0; int y = ((x 0)) ? 1: -1; The code has syntax error. y…
A: Here, (x<100) is true but (x>0) is false because the value of x=0. Hence…
Q: You decide to buy some stocks for a certain price and then sell them at another price. Write a…
A: Write a program that determines whether or not the transaction was profitable. If your transaction…
Q: Develop a program working as a soda vending machine. The program should show the product menu with…
A: *Your not mentioned to write any particular programming language so we are providing a C++ Program.
Q: Write pseudocode that will calculate a XXX% tip and a 6% tax on a meal price. The user will enter…
A: Dear Student, The Pseudocode for the program is given below ,In this program we only need to use…
Q: Design a program using pseudocode and that prompts the user to enter a number within the range of 1…
A: Input number If number==1, then print I If number==2, then print II If number==3, then print III If…
Q: Write a detailed code for Display the sum of n number of odd natural number in cprogramming language…
A: Logic: Assign sum with 0. Input number of odd numbers to calculate the sum. Calculate the sum of odd…
Q: Create a program using java or python to analyze and determine air quality of a city based on user's…
A:
Q: Write a program to find out the grade of a student based on the marks obtained in three subjects.…
A: As the programming language is not mentioned so, I am using C language to write a code. If you want…
Q: Write a program that accepts an integer number and determines whether the number is "EVEN" or "ODD.…
A: ALGORITHM:- 1. Take input for the number from the user. 2. Check if the number is even, odd or zero.…
Q: Write a program that asks the user to type a vowel from the keyboard. If the character entered is a…
A: Actually, program is a executable software that runs on a computer.
Q: Write a program that will input 2 fractions and compute the display the sum of the two fractions.…
A: The answer is
Q: Input in a number representing a car type, until the number 0 is input. There are three types of…
A: Here we need to write pseudo code. Pseudo code is like code which doesn't need to be error free. It…
Q: Write a pseudocode for the real percentage-to-numerical-grade-equivalent displaying. Only one…
A: Pseudocode for the real percentage-to-numerical-grade-equivalent is given below.
Q: write a program in which ask from a user to enter name and id and show there as well. then ask again…
A: Since no programming language is mentioned, I will attempt this in python. if you need it in a…
Q: Write a program that can be used as a math tutor for a young student. The program should display two…
A: Introduction: Write a programthat can be used as a math tutor for a young student. The program…
Q: Write a program that prompts the user to input their names and age and then displays your name and…
A: I have given an answer in step 2.
Q: Write expressions that simulates rolling of two 6 sided dice three times and display results.…
A: Program code: // Imported the random package import java.util.Random; //define a class public class…
Q: Java or C++ program to display the given output -----Library System---- 1. Add a Student 2. Add a…
A: /* import packeges and necessary classs */import java.lang.*;import java.util.Scanner;import…
Q: Write a program which prompts the user for a Celsius temperature, convert the temperature to…
A: For convenience I've provided the code in two different language i.e. C++ and Python Code: Output:
Q: Write a program that converts the input dollar to its peso exchange rate equivalent. Assume that the…
A: According to the Question below the Solution: Output:
Q: def get_order(): item = input() if not item: return '00' if item == 'Q': return 'QQ' quantity: int =…
A: Define an api getorder Take item as input If item is NULL, return If item is 'Q', return 'QQ'. Take…
Q: reate the pseudocode for a program that are able to measure or sense the car speed in kilometers per…
A: the program is given below:-
Q: Write a program to calculate electricity bill charged to a consumer. Ask him to enter the units…
A: Note: Programming language is missing in the question. So we will answer this program in Java…
Write the IPO CHART and Pseudocode.
Write a program that will compute the total amount of a dress. The original price of the dress is 150 pesos. The discount rate is 5%. Display the total amount of the dress after discount.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- Write a program to calculate the grade point average (GPA) of a student by getting their grades for all their subjects. Grades and their grade points areGrade S 10 pointsGrade A 9 pointsGrade B 8 pointsGrade C 7 pointsGrade D 6 pointsGrade E 5 pointsGrade F 0 pointsThe program should input the number of subjects, followed by the grade obtained in each subject. The program should calculate the average of the grade points and print it.Create a program that allows the user to enter a person's age (in years) and current salary. Both Next, you plan the algorithm and then desk-check it. Figure 8-15 shows the completed IPO algorithm contains two loops. The outer loop keeps track of the three annual raise rates (3%, 4%, chart and desk-check table, which (for simplicity) uses an age of 62 and a salary of $25000. The before retirement at age 65, using annual raise rates of 3%, 4%, and 5%. To calculate then for the input. In this case, the program should display a person's total earnings in Figure 8-15. You begin by analyzing the problem, looking first for the output and In this lab, you will plan and create an algorithm for the problem specification shown Frepure 8-15 Problem specification, IPO chart, and desk-check table for the retirement algorithm (continues) and 5%). The nested loop keeps track of the number of years until retirement. the amounts, the program will need to know the person's age and current salary. The…Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day, and so on with the daily pay doubling each day the employee works. The program should ask the user for the number of days the employee worked during the month, validate that it is between 1 and 31, and then display a table showing how much the salary was for each day worked, as well as the total pay earned for the month. The output should be displayed in dollars with two decimal points, not in pennies.
- At a certain university, students have to submit their exams online. The administration decides that for each minute of late submission, 6 points are deducted. Write a program that asks the user for his initial grade and the late submission time (in minutes), and then displays the final result. Sample Run 1: Enter your initial grade: 82 Enter the late submission time (in minutes): 6 Your final grade is 46 Sample Run 2: Enter your initial grade: 115 Grades should be between 0 and 100 Sample Run 3: Enter your initial grade: 43 Enter the late submission time (in minutes): 10 Your final grade is 0 Sample Run 4: Enter your initial grade: 72 Enter the late submission time (in minutes): -2 Time should be positiveAt a certain university, students have to submit their exams online. The administration decides that for each minute of late submission, 5 points are deducted. Write a program that asks the user for his initial grade and the late submission time (in minutes), and then displays the final result. Sample Run 1: Enter your initial grade: 82 Enter the late submission time (in minutes): 6 Your final grade is 52 Sample Run 2: Enter your initial grade: 115 Grades should be between 0 and 100 Sample Run 3: Enter your initial grade: 43 Enter the late submission time (in minutes): 10 Your final grade is 0Airline companies apply baggage restrictions for their passengers. An airline company has decided to apply a 10kg limitation for passengers' hand luggage and 20kg for their normal baggage. When passengers arrive, they enter their hand and normal luggage weight from the keyboard. If passengers exceed their normal baggage allowance of 10 dollars per gram, they pay 12 dollars per kg. Accordingly, write the program that calculates the baggage price of the airline they will go to according to the baggage values entered by the arriving passenger and keeps this from closing the program for each passenger. Note: If hand and normal baggage allowances are stretched below the maximum value, the payment amount will be considered not negative. An example printout is given on the right. Geri bildirim gönder
- 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 employees until enters -1. Sample Run: Enter the number of hours worked (-1 to end): 32 Enter hourly rate of the worker: 100 Balary is 03200 Enter the number of hours Worked (-1 to end) : 40 Enter hourly rate of the worker: 5 Balary is 3200 Enter the number of hours worked (-1 to end): 42 Enter hourly rate of the worker: 10 Salary is 0420 Enter the number of hours worked (-1 to end) : -1A 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. Instruction: Rank the given pseudocodes according to their order of action: If employee’s number of hours worked is less than 0, go to 5 Set employee’s hourly pay rate to 0 Set employee’s number of hours worked to 0 Print “Employee’s wage is ”, employee’s wage Else, employee’s wage = employee’s hourly pay rate x hours Else, go to 5 Else, go to 8 Get employee’s hourly pay…Using, HTML,CSS , and javascript Write a program that takes as input the speed of a car e.g 80. If the speed is less than 70, it should print “Ok”. Otherwise, for every 5 km/s above the speed limit (70), it should give the driver one demerit point and print the total number of demerit points. For example, if the speed is 80, it should print: “Points: 2”. If the driver gets more than 12 points, the function should print: “License suspended”.
- A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie distributor. Write a program that calculates a theater’s gross and net box office profit for a night. The program should ask for the name of the movie, and how many adult and child tickets were sold. (The price of an adult ticket is $10.00 and a child’s ticket is $6.00.) It should display a report similar toMovie Name: “Wheels of Fury”Adult Tickets Sold: 382Child Tickets Sold: 127Gross Box Office Profit: $ 4582.00Net Box Office Profit: $ 916.40Amount Paid to Distributor: $ 3665.60NOTE:Assume the theater keeps 20 percent of the gross box office profit. make sure answer should be in c++In a population, the birth rate is the percentage increase of the population due to births, and the death rate is the percentage decrease of the population due to deaths. Write a program that asks for the following: The starting size of a population (minimum 2) (Prompt Enter starting size: ) The annual birth rate (Prompt Enter annual birth rate: ) The annual death rate (Prompt Enter annual death rate: ) The number of years to display (minimum 1) (Prompt Enter years to display: ) The program should then display the starting population and the projected population at the end of each year. It should use a function that calculates and returns the projected new size of the population after a year. The formula is N = P(1 + B)(1 - D)where N is the new population size, P is the previous population size, B is the birth rate, and D is the death rate. Annual birth rate and death rate are the typical number of births and deaths in a year per 1000 people, expressed as a decimal. So, for…The annual rate of inflation is the rate at which money loses its value. For example, if the annual rate of inflation is 3.0%, then in one year it will cost $1030 to buy the goods that could have been purchased for $1000 today. Put another way, a year from now $1000 will only buy 1/1.03 * $1000, or $970.87, worth of goods. Two years from now $1000 will only buy only 1/1.03 of $970.87, or $942.59 worth of goods. Write a program that allows the user to enter an annual rate of inflation between 1% and 15%, and which then reports how much $1000 today will be worth each year for the next 10 years.