Develop an algorithm that inputs the number FD total to be computed, and goes on inputting sets of initial deposit amount and deposit period for calculations. Upon receiving each set of deposit amount and period, the program calculates and displays the FD
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: Step 1:- The algorithm is defined as a set of instructions that is very helpful for design the…
Q: Write an algorithm (in pseudocode) for the following Scenario. You will need to build a program that…
A: Given:
Q: Conditional Flow Structure. Make a program that will input the monthly salary of Pedro and will…
A: read monthlySal calculate monthlySal*12 if(annualSal>=60000) tax=(annualSal*15)/100 else…
Q: A bag of biscuit can hold 22 biscuit, and a container can hold 70 bags of biscuit. Write a program…
A: #include <iostream> using namespace std; int main(){ int…
Q: The first question: Write a program to implement the algorithm that you designed in Exercise 19 of…
A: The answer is in below steps:
Q: // This pseudocode segment is intended to compute and display // the cost of home ownership for any…
A: Here is the code and flowchart:-
Q: Construct a solution algorithm for the following problems. Your question solution should contain:…
A: Note: Since language is not specified in the question, thus the program code is developed in C++…
Q: Writing the pseudocode and creating the flow chart in RAPTOR for the following chapter. Design a…
A: A flowchart is a picture of the separate steps of a process in sequential order. Pseudocode is an…
Q: Develop a program to ask the user to enter a number, if the user enters a positive integer, then…
A: - The question is to develop a program for the factorial in a unique way with the provided…
Q: A integer n is divisible by 9 if the sum of its digits is divisible by 9. Develop a program to…
A: As no programming language is mentioned, it is solved using basic C++
Q: Write an algorithm and the pseudocode solving the following problem: Ask the user for a total food…
A: final bill = (food bill+(food bill*tax percent)) + (food bill*tip percent)
Q: Executive Training School offers typing classes. Each final exam evaluates a student's typing speed…
A: Pseudocode Pseudocode is the info of each step in an algorithm. Pseudocode mostly uses for the…
Q: The payroll clerk at Nosaki Company wants a program that calculates and displays an employee’s gross…
A: IPO is short for Input Processing and Output, it is basically a chart that shows the input to the…
Q: Exercise 4. Insert a statement that writes the following warning to the screen if the pressure…
A: /*C++ Program Pressure prints an appropriate message based on the pressure reading input from the…
Q: Complete the given program so that will ask the user to enter 5 fruit items given the name, price,…
A: // simple list program using inheritance // Fruit is a base class with 3 derived classes: Apple,…
Q: Design a program that prompts the user for a refrigerator model name and the interior height, width,…
A:
Q: Create an algorithm for a program that determines the state (solid, liquid, gas) of a sample of…
A: Convert kelvin into Celsius KelvinTemp − 273.15 = -273.1°C Convert kelvin into Fahrenheit…
Q: Design a marks sheet for a student with 5 subjects includingMath, Physics, Electronics, Islamiat and…
A: The program is written in C…
Q: Two players A,B are playing a game in which there are 3 rounds. Write a program in which user enters…
A: Algorithm : Step 1 : declare variables. Step 2 : ask for the scores of player A and B for three…
Q: Write an algorithm and the pseudocode solving the following
A: Input total food bill calculate tax as 7 percent of total food bill Input percentage of tip as 15 or…
Q: C++ code that given a date (year, month and day) finds and displays the next date. Consider all the…
A: Below is the C++ program to find the next date of the entered date: - Explanation: - Importing the…
Q: Complete the given program so that will ask the user to enter 5 fruit items given the name, price,…
A: Swift code to solve the given problem
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: Two players A,B are playing a game in which there are 3 rounds. Write a program in which user enters…
A: We have to write a c++ code for the two players and at the end we have to show the winner who got…
Q: 1. Write a program that accepts from the user a unit price of a certain product and the quantity of…
A: #include<stdio.h>int main(){ //declaring variable for this problem float unit_price;//since…
Q: given a list of students names and their test scores. Design a pseudocode that does the following:…
A: Let scores is an array of N length for N students. Similarly names is an string[] of the name of N…
Q: Develop an algorithm that inputs the number FD total to be computed, and goes on inputting sets of…
A: Algorithm : Start Declarations : integer num,n; real amount,interest,…
Q: Complete the given program so that will ask the user to enter 5 fruit items given the name, price,…
A: #include <iostream> #include <string> using namespace std; struct fruitData {…
Q: Design a retirement planning calculator for Skulling Financial Services. Allow a user to enter a…
A: #include<iostream> using namespace std; int main(){ int years; float savingsPerYear,…
Q: Write a program that will compute the students average •The user will input the following:…
A: Only the 1st question is answered. Please repost the other questions in another doubt session. As…
Q: A local business employs five salespeople and pays a 3% bonus on a salesperson’s sales •Your task is…
A: Note: Since you have not provided the language to write the code so I am using Java language to…
Q: Create an algorithm and flowchart for the following scenario below. NOTE: Use C++ Language…
A: START DECLARE username, password, choice1, choice2, quantity DECLARE and INITIALISE total = 0.0…
Q: P2 (70%). Assuming that horizontal position is 0, expand the program you developed in P1 in a way…
A: %%%% part2.m %%%%% clc % Assume initial projectile positions % and Initial velocity are…
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: only code needed program that prompts the user to enter the month and year and displays the number…
A: Java used to answer this question
Q: c) Write pseudo-code for the algorithm that will ask the user to enter height (Feet) and weight (Kg)…
A: Given: We are given a table that contains the category and corresponding height and weight. Goal: We…
Q: Design the logic for a program for Arnie’s Appliances. Design a program that prompts the user for a…
A: Solution:
Q: . The following pseudocode works, but it performs a case-sensitive validation of the user's input.…
A: Case sensitive: Typed input is sensitive to capitalization of letters. Example: "science" and…
Q: Write the pseudocode for the following program: A company sales manager requires a sales analysis of…
A: PSEUDO CODE : it is a methodology that allows the programmer to represent the algorithm…
Q: Classification Based on Range (with C++) Write a program that takes the income of an employee and…
A: #include <iostream>using namespace std;int main() { int income,net_income,tax;…
Q: Write the pseudocode for the following program: A company sales manager requires a sales analysis of…
A: Declaration number votes[5] ; //array containing total votes of the 5 candidates number…
Q: rite a program that prompts the user to enter:
A: Approach Use a do-while loop within if statement calculate the population of town A…
Q: man initially weighs 120 kg. He wants to reduce his weight at a rate of 5% per month. Derive the…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: A bag of biscuit can hold 22 biscuit, and a container can hold 70 bags of biscuit. Write a program…
A: Input : Total number of biscuits Number of biscuits in a bag Number of biscuit bags in a container…
Q: should be at least 20, but not greater than 70. The driver’s speed should be at least the value…
A: Use while condition Use try statement Define variable splim and take user input for the speed limit…
Q: A .You can use an ELSE clause without an IF structure. Select one: True False B. It is often…
A: Question A: An if statement can be written without an else statement when we do not need the case of…
Q: Modify the program that computes paint cost to allow the user to enter the number of doorways that…
A: The step-by-step approach(Pseudocode) for this problem is shown below. Input the wall width Input…
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- Design an algorithm that will prompt a terminal operator for three characters, accept those characters as input, sort them into descending sequence and output them to the screen. The algorithm is to continue to read characters until ´E N D` is entered. use PSEDUCODECreate an algorithm for a program that determines the state (solid, liquid, gas) of a sample of water. The program should read in a temperature value (integer) of the sample in Kelvin degrees and provide the user the choice to convert the value into ˚C (Celsius) or ˚F (Fahrenheit). The program should then display the input Kelvin temperature, the state of the water sample (gas, liquid, solid), and the converted temperature. The program should read in values continuously until the user wants to quit. Your algorithm should take a top down approach whereby you formulate a high-level algorithm, and then take each step in the high-level algorithm and break it down into a low-level algorithm (where the necessary sub-step is formulated). Code reuse Welcome to the temperature conversion program. Please enter a the sample temperature in Degrees Kelvin:> 345Do you wish to convert the temperature to (c) for Celsius, or (f) for Fahrenheit:>cThe water is in a liquid state at 72.0 degrees…You are given a list of students’ names and their test scores. Design an algorithm that does the following:a. Calculates the average test scores.b. Determines and prints the names of all the students whose test score is below the average test score.c. Determines the highest test score.d. Prints the names of all the students whose test score is the same as the highest test score.
- Write an algorithm and the pseudocode solving the following problem: Ask the user for a total food bill and then calculate and display the total paid after adding both a 7% tax and a tip of the users choice to the bill. Request and read in from the user the percentage of tip to be applied (15, 18, 20%) in order to calculate the tip. PLEASE USE THE RIGHT SYNTAX AND DECLARE AND USE CONSTANTS.Write an algorithm and the pseudocode solving the following problem: Ask the user for a total food bill and then calculate and display the total paid after adding both a 7% tax and a tip of the users choice to the bill. Request and read in from the user the percentage of tip to be applied (15, 18, 20%) in order to calculate the tip. PLEASE USE THE RIGHT SYNTAX FOR THE PSEUDOCODEThe computed approximation should be accurate to less equal to 10 decimal places (i.e., the absolute value of nin+1) the sum result of current kth iteration subtract from the sum result of the previous (k-1)th iteration is less equal to 0.01). The program should display the approximation of the series and the error bound. An alternating series that converges has an error bound equal to the magnitude of the next term in the series, for example if was approximated (-1)-1 nin+1) using N = 3, (-1)-*, the error bound is (-1)" with n = 4, nin+1) .
- The payroll clerk at Nosaki Company wants a program that calculates and displays an employee’s gross pay, federal withholding tax (FWT), Social Security and Medicare (FICA) tax, state tax, and net pay. The clerk will enter the hours worked (which is never over 40), hourly pay rate, FWT rate, FICA tax rate, and state income tax rate. Complete and IPO chart for this problem. Desk-check the algorithm using 30, $10, .2, .08, and .04 as the hours worked, pay rate, FWT rate, FICA rate, and state tax rate, respectively. Then desk-check it using your own set of data.Write pseudocode and Python code Design a program that computes pay for employees. Allow a user to continuously input employees’ names until an appropriate sentinel value is entered. Also input each employee’s hourly wage and hours worked. Compute each employee’s gross pay (hours times rate), withholding tax percentage (based on Table 6-5), withholding tax amount, and net pay (gross pay minus withholding tax). Display all the results for each employee. After the last employee has been entered, display the sum of all the hours worked, the total gross payroll, the total withholding for all employees, and the total net payroll. Weekly Gross Pay ($) Withholding Percent (%) 0.00-200.00 10 200.01 -350.00 14 350.01-500.00 18 500.01 and up 22Newton’s law states that the force, F, between two bodies of masses M1 and M2 is given by: F = k in which k is the gravitational constant and d is the distance between the bodies. The value of k is approximately 6.67 x 10-8 dyn. cm2/g2. Write the algorithm and a program that prompts the user to input the masses of the bodies and the distance between the bodies. The program then outputs the force between the bodies.
- You require an algorithm that will read in a tax rate (as a percentage) and the prices of five items. The program is to calculate the total price, before tax, of the items and then the tax payable on those items. The tax payable is calculated by applying the tax rate percentage to the total price. Print the total price and the tax payable as output. Design Problem analysis Algorithm Flow Chart Pseudo codeDesign a program that computes pay for employees. Allow the user to continuously input employees’ names until an appropriate sentinel values is entered. Also input each employee’s hourly wage and hours worked. Compute each employee’s gross pay (hours times rate), withholding tax percentage (based on the accompanying table), withholding tax amount, and net pay (gross pay minus withholding tax). Display all the results for each employee. After the last employee has been entered, display the sum of all the hours worked, the total gross payroll, the total withholding for all employees, and the total net payroll. Weekly Gross Pay ($) Withholding Percent (%) 0.00-200.00 10 200.01 -350.00 14 350.01-500.00 18 500.01 and up 22Create an algorithm and flowchart for the following scenario below.NOTE: Use C++ Language Scenario: You are assigned to create a simple Ordering Menu System. The system required to enter username and password before choosing a menu of fast food. Username: Password: note: [use invalid input] Listed below are sample price and the item of fast food. Fast Food Main Menu: Short Order Miryenda 1 – Fries P 30.00 2 – Spaghetti P 30.00 3 – Burger P 30.00 4 – Fried Chicken P 60.00 5 – Coke Float P 30.00 6 – Coffee Float P 30.00 7 – Total Bill 8 - Exit Choose your order: 1 Your order is Fries, how many order do your want? __ Do you want to order another food? (Yes/No) __ (if no, compute for the Total the amount, if Yes go back to main menu, order another transaction the add the amount to the previous transaction.)