design an algorithm for a program that calculates the current balance in a savings account . the program should obtain fro the yuser the following information; the satrting balance the total amount of dep[osits the total amount of withdarwals made monthly interest rate
Q: Write a program that will ask the user to enter Date of Birth (DOB) and current date as input.…
A: Write a program that will ask the user to enter Date of Birth (DOB) and current dateas input.…
Q: Problem Statement Interest on Credit card accounts can be quite high. Most credit card companies…
A: A required C++ program is as follows, Program: #include <iostream> #include<iomanip>…
Q: Write an algorithm (in pseudocode) for the following Scenario. You will need to build a program that…
A: Given:
Q: Propose a menu-driven program that calculates the total price for a picnic lunch that the user is…
A:
Q: • Minimize the function f(x) = x using hill climbing and gradient descent. Stop when the difference…
A: In questions with many questions, we must answer 1.
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: Design a program that computes pay for employees. Allow the user to continuously input employees’…
A: The given problem is implemented using Arrays
Q: his is a program written in C programming language. The wrong this is that this must be an…
A: Here we have to make use of loops to iterate till both strings match so that we can input password…
Q: Create an algorithm (pseudocode, flowchart or actual Python code. Choose one of these) which…
A: The pseudo- code for program 1- Use two loop one is for row and another is for column. Row wise…
Q: A procedure for solving a problem in terms of the actions to be executed and the order in which the…
A: Algorithm A bunch of decides that decisively characterizes a succession of tasks for tackling a…
Q: Develop a program to calculate the height of a building. To measure how tall the building is you go…
A: As no programming language is mentioned here, we are using Python Please find the working code below…
Q: Exercise15_05 Imvestment Amount: 10000 Number of Years: 4 Annual Interest Rate: 3.25 Future value:…
A: Actually, java is object oriented programming language. It is a platform independent.
Q: Design a program that will determine how much money you need each month to pay for keeping the car •…
A: The given problem is to be solved in two phases: 1) Creation of flowchart for solution 2)…
Q: Programmers refer to the items needed to reach a problem’s goal as the .a. input b. output c.…
A: To perform the required task through programming, it is very important to pass the test values on…
Q: Design a program that asks the user for a series of names (in no particular order). After the final…
A: Program Plan: Create an empty list to store the names. Start the loop till 1 is pressed. Input name…
Q: Develop a program that can calculate the total price of goods ce the price and quantity of goods are…
A: Hi. Since you have mentioned no programming language, I will go with C++. Let's move on to the…
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 the program that will calculate for a parking charge. Th rogram will ask from the user to…
A: The answer is..
Q: Exercise 9-1m Write a simple program, that able to calculate profit from a sale for a store. Hint:…
A: language is not mentioned so i am doing in python #main functiondef main(): #global constant…
Q: Give the pseudo code for an algorithm of a software solution to the problem down below. You must use…
A: Here is the pseudo code of the above scenario in Python:
Q: Liza participated in a competition for doubling the amount of Rs. 100 and she won the same. She also…
A: Given: Goal: Write an algorithm that can calculate the total money Liza won/got in the competition.…
Q: Write an algorithm using pseudocode and draw the flowchart for the given problem. The Jungle…
A: Hello Student. Warm welcome from my side. Hope you are doing great. I will try my best to answer…
Q: SET A Develop a self-service laundry calculator that reads laundry weight and drying time as inputs…
A: Please refer to the following steps for the complete solution to the problem above.
Q: Here's the C++ Programming Exercise: The population of town A is less than the population of town B.…
A: The population of town A is less than the population of town B. The population growth rate of town…
Q: Design a program for the Café Noir Coffee Shop to provide some customer market research data. When a…
A:
Q: Q2/ Design a program with Writing a programming code using the Visual Basic language to calculate an…
A: Step 1 : Start Step 2 : In the Main module, Declaring the variables to hold the sales profit of the…
Q: Write a program in python Zeller’s congruence is an algorithm developed by Christian Zeller to…
A: Use switch that will return 0 : "Saturday", 1 : "Sunday", 2 : "Monday", 3 :…
Q: Algorithm that captures a person's age and determines how much they have to pay for a movie ticket.…
A: Input age Based on age, update price Finally, print price
Q: Design an algorithm for the following problem: "Given a set of n points in the Cartesian plane,…
A: - We have to develop an algorithm to check whether the n points of cartesian plane lies in a…
Q: Write a program for computing the amount of money in a bank account at the end of each quarter for a…
A: Note : Since the coding language is not mentioned, I have done the code in Java. Algorithm : Step 1…
Q: In a 50-person class, students with grades below 70 are considered unsuccessful. Write an algorithm…
A: Algorithm: Step 1: Start Step 2: Declare grade variable Step 3: Input grade Step 4: if…
Q: In Python Propose a menu-driven program that calculates the total price for a picnic lunch that…
A: Flowchart is the pictorial representation of sequence of steps in solving a task.
Q: Create a Python program that determines whether a shopping order is eligible for free shipping. An…
A: The steps in this program include: Read input from the user if (input >100) free shipping else…
Q: Design a program to do the administration for a fun run competition. Participants can run a distance…
A: Program:-(in python3)…
Q: Write a program that converts a time from 24-hour notation to 12-hour notation. The following is a…
A: //C++ program #include <iostream> using namespace std; int main(){ int h,m;…
Q: Our local bank has many customers who save their change and bring it in for deposit Write a general…
A: ALGORITHM:- 1. Take input for the customer details. 2. Take input for the currency input from user.…
Q: Write an algorithm and draw a flow chart to check if person is vaccinated or not. If booster dose…
A: step1: N = input("Have you Vaccinated(Booster does) :Enter Yes/No:") //reading input from user…
Q: Create a program that will compute the basic salary of the employee, the daily rate of the employee…
A: Note :- You have not mention the language of program, So I am doing the program in C++ language.
Q: design a program for a professor to calculate the average of the three test scores for the students…
A:
Q: Create a function that outputs the result of a math expression in words. Examples wordedMath("One…
A: const calc = { zero: 0, one: 1, two: 2, 0: 'Zero', 1: 'One', 2: 'Two', plus(n1, n2) { return…
Q: Suppose you have an investment plan where you invest a certain fixedamount every year. Modify futval…
A: #asking user to enter fiexed amount p=float(input("Enter the fixed amount : ")) #ask user to enter…
Q: Create a program that will compute the basic salary of the employee, the daily rate of the employee…
A: Answer
Q: Create a useful program that asks for the user to choose between 2 options, with each option calling…
A: Objective: The utility of a menu-driven program should be explained along with the method of…
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: 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 the pseudocode for the following scenario: A manager at a 2nd hand car dealership wants to…
A: As Pseudocode is basically blueprint of Algorithm. It is not a complete code. It is usually steps…
Q: Design a modular program that asks the user to enter the monthly costs for the following expenses…
A: We are designing the program in C++ programming language. Given below is the program designed to…
design an
the satrting balance
the total amount of dep[osits
the total amount of withdarwals made
monthly interest rate
Step by step
Solved in 2 steps
- Write an algorithm for the following problem. The input consist of three integers a,b, and w. Assume that you live in a country that has two types of coins, one wortha dollars and the other b dollars. Both you and the storekeeper have a pocket full ofeach. You must pay him w dollars. You can give him any number of coins, and hemay give you change with any number of coins. Your algorithm must determinewhether or not this is possible and, if so, describe some way of doing it (not necessarily the optimal way). [Hint: Compute GCD(a, b), and use the three values g, u,and v. Consider the two cases when g divides w and when it does not. (If you wantto find the optimal number of coins, basically you change a solution by using thefact that ( bg ) · a − (ag ) · b = 0.)]Write an algorithm for the following problem. The input consist of three integers a,b, and w. Assume that you live in a country that has two types of coins, one wortha dollars and the other b dollars. Both you and the storekeeper have a pocket full ofeach. You must pay him w dollars. You can give him any number of coins, and hemay give you change with any number of coins. Your algorithm must determinewhether or not this is possible and, if so, describe some way of doing it (not necessarily the optimal way).Write an algorithm and C program for the following programdefinition: Calculate the weekly gross pay for a series of casual workers, using thefollowing information:a) For each worker there is a line of data with the following fields, separated byblanks - employee number (integer), number of shifts (integer), base wage rate(real) and one real number per shift, representing the number of hours worked.b) Your program should process as many data lines as there are present.c) Gross pay is total hours × base wage rate if the total hours are less than orequal to 15. If the total hours are greater than 15, but less than or equal to 25 thereis a 5% premium on base wage rate (for all hours worked). If the total hours aregreater than 25 there is a 10% premium.d) The gross pay should be rounded to the nearest cent.e) Produce a columnar report, with appropriate headings, showing employeenumber, total hours and gross pay.f) Determine, by hand calculation, what the correct results should befor this…
- Write a program that consists of the following algorithm: num1 =4, num2= 4* 5-11, sale = 0.02 * 1000, first =‘D’, str = “It is a sunny day”. .Your program has to display the results for num1, num2, sale, first and string.Create 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…Write an algorithm that prompts the user for the radius, in inches, and price of a pizza, and then reads in those values. Finally, have the algorithm compute and output the pizza’s cost per square inch.
- Write a program to accumulate the "x" deposits made in a month in a savings account, include in the cycle, enter the month and the amount of the deposit and at the end of the cycle show the total amounts. You must validate that it is the current month, if another month is entered, ignore it and at the end also show the total correct deposits. Subject: Python ProgrammingWrite a program that will compute for depreciation. The straight line formula for computing depreciation is given by the following: D = (F – S)/N Where D = depreciation F = Face Value S = Salvage Value N = Number of yearsThe SRC of AIT is trying to find out the eligibility of voters in the school for an upcoming election. On a trial bases you are tasked to come out with a program that request for: i. A student’s program of study ii. Students Year of Admission iii. A student should be eligible to vote if he/she has a valid student ID and the admission year should be between 2019 and 2021. Write an algorithm for this program
- Write an algorithm that computes the Body Mass Index (BMI) given the heights and weights of students. The algorithm should first read the total number of students and then read the height and weight of each student to calculate and print the BMI category A student is considered Underweight if the BMI is less than or equal to 18.5; Normal Weight if between 18.5 and 24.9; Overweight if between 25 and 29.9; and Obese if greater than or equal to 30.The manager of Mama Calari’s Pizza Palace wants a program that calculates and displays the number of pizza slices into which a circular pizza can be divided. The manager will enter the radius of the entire pizza. For this exercise, use 14.13 as the area of a pizza slice, and use 3.14 as the value of pi. Desk-check your solution’s algorithm using 10 as the pizza’s radius; then desk-check it using 8. (Hint: For the first desk-check, the number of pizza slices should be a little over 22.)Write a program to determine whether the age of Peter ans Stuart.Peter is 8 years older than John.Stuart is 2 years younger than Peter.Age of John is 56 . any programming language.