calculates the current balance in a savings account
Q: 1. design the algorithm for a program that calculates the current balance in a savings account. the…
A: The algorithm is defined as a type of procedure that consists of steps and instructions to solve the…
Q: Write a pseudocode algorithm to prompt the user to enter the current year and the year a person was…
A: 1) Below is Pseudocode program to input current year and born year of a person, calculate the age of…
Q: Your programming team have been hired by the ministry of education to design programs to help…
A: Given scenario is : A class consists of 20 student has records stored in the format of Student's…
Q: Please answer everything especially the follow up questions (I really need the answers for the…
A: Algorithm:- 1.Declare the six variables of knowledge kind whole number 2.Read the worth of x and y…
Q: Write an algorithm (in pseudocode) for the following Scenario. You will need to build a program that…
A: Given:
Q: Design an algorithm for a program that calculates the current balance in a savings account. The…
A: Actually, algorithm is an step by step process.
Q: e employee worked (up to 40 hours) times the hourly rate. The program is to compute an overtime pay…
A: Q. METHODOLOGY A bookstore owner wants you to write a program that calculates the gross pay of an…
Q: Create an algorithm, flowchart and program that will do the following: 1. Ask the user to input two…
A: The algorithm is a step-by-step process of solving the problem efficiently. Based on this algorithm…
Q: Computer program is commonly used in current technology. Based on your understanding. explain an…
A: Computer program is used to communicate between the human and computer. Example of the computer…
Q: ext Book: Starting Out with Programing Logic & Design 5 edition Write a program that will take in…
A: ANSWER:-
Q: 1. COUNT THE NUMBER OF ZEROS SIGNALS FROM A SENSOR IN A MACHINE (JUST ASSUME THAT THE SIGNALS FROM…
A: #include<iostream> using namespace std; int main() { int num, count = 0; cout…
Q: design an algorithm for a program that calculates the current balance in a savings account . the…
A: Given: We are given a problem in which we will be taking the starting bank balance, the total…
Q: A supermarket clerk has run out of changes except for 25 centavo coins. Create a program which asks…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: ### Exercise: write a Program to print the grade of the student is B+
A: given range for B+ grade is >=85 and <90 simply use if condition and put print statement to…
Q: Program Specifications Write a program to calculate the cost to paint a wall. Amount of required…
A: Step-1: Start Step-2: Declare variables wallHeight, wallWidth and cost and take input from user for…
Q: Distance Traveled Assuming there are no accidents or delays, the distance that a car travels down…
A: Approach: 1) Declare variables distance, speed, and time 2) Apply the formula 3) Print the result…
Q: Treyson Liverpool pays a state income tax on his yearly taxable wages. He wants a program that…
A: Pseudo Code: Start Write “Enter the yearly taxable wages:” Read(yearly_taxable_wages) Write…
Q: Create a DEBUG assembly program that will display your complete name, name of the school, and degree…
A: code : section .data name: db 'jems Corden',10 school: db 'North Carolina',10 degree:…
Q: Design an algorithm that prompts a user to enter a positive nonzero number and validates the input
A: THe answer is
Q: Describe the steps involved in the process of writing and executing a program
A: Steps involved in the process of writing and executing a program: Defining and understanding the…
Q: The calculation instructions in an algorithm should state . a. only what is to be calculated b. only…
A: Calculation instructions in an algorithm An instruction is a single operation of a processor. It is…
Q: Assume that a bomber with a non-board computer has a faulty bombsight. A program is needed which…
A: Please refer below for complete solution : 1) : Required output: Find out the time it will take the…
Q: 1. DISTANCE TRAVELED Assuming there are no accidents or delays, the distance that a car travels down…
A: Given:To write a java program to find the distance using given formula in the question.
Q: A computer can process a program in one of the following ways A statements .B branch .C expression…
A: Question: How a computer process a program? Answer: Option A: Correct Statements Explanation: A…
Q: Draw a flowchart of the algorithm calculating how many steps the player can guess a 4-digit number…
A: we need to provide Draw a flowchart of the algorithm calculating how many steps the player can guess…
Q: Note: write a Jave Progame below Question2: Suppose a retail business sells an item that is…
A: Question2: Suppose a retail business sells an item that is regularly priced at $98 and is planning…
Q: Create the algorithm for the following problem: A customer in a store is purchasing three items.…
A: Step 1: Start Step 2: First, we need to prompt the user to input to enter each of the item prices…
Q: A certain college classifies students according to credits earned. A student with less than 7…
A: the code is an given below
Q: Design a hierarchy chart or flowchart for a program that calculates the current balance in a…
A: Flow Chart: It is a diagrammatic representation showing a system process or algorithm. They are used…
Q: Design a program that will ask the user to enter the amount of a purchase. The program should then…
A: I have provided JAVA CODE along with CODE SCREENSHOT and OUTPUT SCREENSHOT------------
Q: PYTHON LANGUAGE Design a program that asks for the number of fat grams and calories in a food item.…
A: Actually, python is easiest programming language. It is a structured and object oriented programming…
Q: The rules that must be followed when constructing a program are called __________.
A: GIVEN: The rules that must be followed when constructing a program are called __________.
Q: Write a program that will take in basic information from a student, including student name, degree…
A: Ask the student name. Ask the degree program name. Subtract the number of credits taken so far from…
Q: 10. The algorithm shown in Figure 1-13 should calculate and print the gross pay for five workers;…
A: Algorithm There are four lines missing in the given algorithm. There is an end repeat command at…
Q: Design an algorithm to prompt the user for an integer, evaluates the formula 2 * x² – 1, and prints…
A: START Declare 2 integer variables x and result Take the one integer number to be added, as inputs in…
Q: Plan and code a program to do the following. You found an exciting summer job for S weeks. It pays…
A: code #include <iostream>#include <iomanip>using namespace std;int main(){const int…
Q: Design a program that will perform basic grade computation. The program will ask the user for their…
A: The program is written in C#. Check the program screenshot for the correct indentation. Please check…
Q: QUESTION SESSION: Input and Output Q. 2: Minutes QUESTION DESCRIPTION Suresh has travelled from…
A: In the given Qustion it has been asked to calculate and display the total time in minutes when input…
Q: 1. Complete an algorithm, code and compile the following program. Save the program as mathTutor.py.…
A: #math tutor program import random #function to display main menudef main_menu(): print("\n1.See…
Q: Write algorithms using pseudocode and draw the flowcharts for the following problems. a) Calculate…
A: - We have to work for the total bill problem.
Q: The square of an integer refers to the result of multiplying the integer with itself once. While the…
A: The program is written in c++ The input is reading from the user using standard input cin and the…
Q: Write pseudocode and Python code
A: This can be done using different lists for each of the attribute tax percent, tax amount, gross pay,…
Q: Using Raptor design a program for guessing a number between 1 and 100. After each guess, the player…
A: Instructions : Set a variable to hold the value of the number to be guessed. Use an input block…
Q: Design the logic for a program for Arnie’s Appliances. Design a program that prompts the user for a…
A: Solution:
Q: Design an algorithm for a program that calculates the current balance in a savings account. The…
A: A flowchart is a diagram. It is used to display the logical flow of a program. Flowchart for a…
Q: Draw a flowchart of the algorithm calculating how many steps the player can guess a 4-digit number…
A: The complete flow chart is shown below.
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: Write pseudocode and Python code Design a program that computes pay for employees. Allow a user to…
A: all_detail = []while True: name = input('\nEnter Employee name: ') if '-' in name:…
Q: er Science PROBLEM SOLVING 1. Develop an algorithm that accepts as input the names and, hours…
A: It is defined as a procedural programming language, and a general-purpose, high-level language. It…
- Design an
algorithm for aprogram that calculates the current balance in a savings account. The program should obtain from the user the following information:
- The starting balance
- The total amount of deposits made
- The total amount of withdrawals made
- Monthly interest rate
The program will then use this information to calculate the current balance and display it on the screen.
- Perform a dry run for the design in a).
Step by step
Solved in 2 steps with 1 images
- (Statistics) This is the formula for the standard normal deviate, z, used in statistical applications: z=(X)/ X is a single value. refers to an average value. refers to a standard deviation. Using this formula, you need to write a program that calculates and displays the value of the standard normal deviate when X=85.3,=80,and=4. a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Determine a formula for converting input items into output items. d. Test the formula written for Exercise 7c, using the data given in the problem.(General math) The value of p can be approximated by this series: 4(113+1517+....) Using this formula, write a program that calculates and displays the value of , using 2, 3, and 4 terms of the series.Design a program that asks the user for a series of names (in no particular order). After the final person's name has been entered, the program should display the name that is first alphabetically and the name that is last alphabetically. For example, if the user enters the names Kristin, Joel, Adam, Beth, Zeb, and Chris, the program would display Adam and Zeb. Programming Language: PYTHON TOPIC: Repetition Structures
- python solution please Task 1Description let's consider a case when you need a lot of coffee. Maybe you're hosting a party with a lot of guests! In these circumstances, it's better to make preparations in advance.So, we will ask a user to enter the desired amount of coffee, in cups. Given this, you can adjust the program by calculating how much water, coffee, and milk are necessary to make the specified amount of coffee.Of course, all this coffee is not needed right now, so at this stage, the coffee machine doesn't actually make any coffee yet. ObjectivesLet's break the task into several steps:First, read the numbers of coffee drinks from the input.Figure out how much of each ingredient the machine will need. Note that one cup of coffee made on this coffee machine contains 200 ml of water, 50 ml of milk, and 15 g of coffee beans.Output the required ingredient amounts back to the user. ExamplesThe greater-than symbol followed by space (> ) represents the user input. Notice that…Problem: A 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. Instructions: Match the action at the left-side with the correct step number at the right-side (the attached picture). Note that it may be possible to group more than one related actions in the same logical step / process without altering the essence of the algorithm. In the program flow, input and checking of hourly pay rate should come before that of the number…1. Write the algorithm and draw the flow chart for a program that calculates and displays a person’s body mass index (BMI). The BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for his or her height. A person’s BMI is calculated with the following formula: BMI = weight × 703 / height2 Where weight is measured in pounds and height is measured in inches. The program should display a message indicating whether the person has optimal weight, is underweight, or is overweight. A sedentary person s weight is considered to be optimal if his or her BMI is between 18.5 and 25. If the BMI is less than 18.5, the person is considered to be underweight. If the BMI value is greater than 25, the person is considered to be overweight. 2. Draw a flowchart that shows how to evaluate the following expression, given that A = 1 and B = 3. Your answer should be either be true or false. (A + 5) ^2 − (B + 4 * A)
- Convert the algorithm provided into C source code: Each year, the county property tax system calculates and sends property tax bills to homeowners. Design a solution that allows the data entry clerk to enter property IDs and values into the system and displays the amount of tax due based on the tax rate of 3% . At the end of the program, display the total amount of potential tax revenue. To flag the end of the list of properties, enter the flag value of 0 when prompted for the property ID. Use a subfunction to calculate the amount of tax due on an individual property. Send the property value to the subfunction as an argument and return the amount of tax due.METHODOLOGY A bookstore owner wants you to write a program that calculates the gross pay of an employee. The input to the program is the number of hours the employee works in one week and the employee’s hourly pay rate. The program is to calculate the employee’s gross pay including the possibility of overtime pay. Regular pay is the number of hours the employee worked (up to 40 hours) times the hourly rate. The program is to compute an overtime pay if the employee worked more than 40 hours. All hours beyond 40 should be multiplied to 1.5 for the OT differential pay The program should output the worker’s regular pay, overtime time, and the gross pay (sum of the regular pay and overtime pay). Create an IPO and flowchartWrite 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 22
- YTU Civil Engineering Department Introductory Computer Sciences Midterm exam 2020-2021 Spring 28/04/2021 Q1: Draw the flow chart of a program that returns the sum of the even numbers between 5 and 75.QUICK-BASIC64 In a 50-person class, students with grades below 70 are considered unsuccessful. Write an algorithm that calculates students who fail the exam. (Please explain everything the program in details and please check whether the program runs or not by using q- basic64. Thank you so much)The Lottery Problem: • The lottery draws a number that is the winning number • The number should be between 0 and 999 • Have someone play • The person tells how many tickets they want • The person always does “quick pick” (let the computer pick the number for them) and gets one number between 0 and 999 for each ticket bought • The program reports how many tickets win of the ones bought • NOTE: A ticket “wins” if it matches the winning number previously chosen • Write working code with at least one function and one sub other than “main”