Write a program (pseudocode and flowchart), that askes the user to enter his loan armount, when the user enter his loan amount the program will calculate the loan interest and loan value after adding interest, according to the table below and then prints the results Loan after interest = loan Amount + (loan Amount * Interest Rate) Interest rate Loan Amount % 15 Less than 1000 % 10 to 5000 1000 8% < 5000
Q: Build a flowchart for the following program and write C repl Ask the user to enter name and ID…
A: The flowchart is shown below.
Q: Draw a flowchart for a program that: 1) Asks the user to enter from the keyboard electricity…
A: As per the requirement program is completed. Algorithm: Step 1: Write the main() method Step 2:…
Q: 2) Write a program to calculate the tip for a service. Prompt the user to enter the bill amount and…
A: Note: As no specific programming language is mentioned, the program has been provided in C. The same…
Q: The Drive-Rite Insurance Company provides automobile insurance policies for drivers. Design a…
A: // Take input from user policy number, customer last name, customer first name, age, premium due…
Q: Write a program that asks the user to enter the number of spheres. Then, your program should ask the…
A: i give the code in python as per your requirement and also give the output screenshot as well as the…
Q: 10. A customer has to pay for 7 items. He has only 35 RO with him. The price of the products are:…
A: ALGORITHMS:- 1. Initialize a variable with initial amount. 2. Initialize a list with amount of…
Q: 2. Write a program that calculates marked area of the square, given input of square length and the…
A: ALGORITHM:- 1. Take input from user. 2. Check if square side is greater than circle diameter. 3. If…
Q: Write a program that asks the user for an angle, entered in radians. The program should then display…
A: Program description: n is the user input integer variable used to take the value of the angle in…
Q: Problem: Write a program that converts degrees from Celsius to Fahrenheit, using the…
A: Since you have asked two separate questions and it was not clear which specific question you wanted…
Q: Average acceleration is defined as the change of velocity divided by the time taken to make the…
A: NOTE: SINCE THE LANGUAGE OF THE CODE IS NOT MENTIONED, I HAVE USED JAVA FOR THE SOLUTION. Define…
Q: Write a program that reads in two numbers a and b. The program should calculate the following…
A: The above program calculate a2 using the pow function in c++. Square root can be find using the sqrt…
Q: Write a program that asks the user to enter three values the program then calculates the average of…
A: The following algorithm is needed to develop the program with given description: Include header…
Q: what is the algorithm? Write a program that prompts the user to enter a number with the range of…
A: An algorithm is a set of instructions designed to perform a specific task. ALGORITHM: step1: take…
Q: using flowcharts 8.Write a program which accept the user’s height in cm then display : a. You are…
A: algorithm:- Q8. if(height>180) display "you are so tall" else if(height>=180…
Q: Write a program that determine the age based on code as input. A: Veteran (age above 50) B: Adult…
A: As the language of code is not specified. So, I had answered this question in Java language. Hope…
Q: Draw a flowchart for a program that: 1) Asks the user to enter from the keyboard electricity…
A:
Q: Design a flowchart or pseudocode for a billing program at a day care center. The program accepts…
A: Pseudocode is a made-up, informal language that aids programmers in the development of algorithms.…
Q: Write a program using flowchart (or python, c++) that computes for the average of scores of a…
A: C++ code: #include <iostream>using namespace std; int main() { int marks[99], m, i, a=0,…
Q: Accept two integers from computer user and check whether they are equal or not. 5. Write a program…
A: Note: we are only allowed to solve one question in one post. to get answers to others, please post…
Q: PROBLEM: Write a program that prompts the user to input the amount of money that an ATM machine will…
A: Answer: Below Are the solution of given use cases: Please find the Code, Code Screenshots, and the…
Q: PROBLEM: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For…
A: Python program to fid the number of days elapsed
Q: Draw the flowchart for a program that calculates the amount of tax withheld from an employee's…
A: The flow chart is a step by step process, it specifies the steps in diagramatic way by using flow.
Q: PROBLEM: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For…
A: #include <iostream>using namespace std;// to check if year is leap year or notbool isLeap(int…
Q: The Drive-Rite Insurance Company provides automobile insurance policies for drivers. Design a…
A: According to the information given:- Drive-Rite Insurance Company gives automobile insurance…
Q: PROBLEM: Write a program that prompts the user to input the amount of money that an ATM machine will…
A: Here I have created a function named printDispense(), which will take the amount as a parameter.…
Q: Write a program that computes and interprets the Body Mass Index (BMI). The program prompts the user…
A: Start Input weight in pounds Input height in inches Convert weight to kilograms Convert height to…
Q: Write a program that determines the real roots of a quadratic equation. To calculate the roots of…
A: Given: given by: D = b ^ 2 - 4ac . If D > 0 the program displays message "The equation has two…
Q: You are required to write a pseudocode and draw a flowchart for a program to determine total marks…
A: The Pseudo Code to implement the given program is: START Declare the variable to store Username as…
Q: ate a Flowchart that will compute the real estate tax, given the following formulas: a. If value of…
A: I have given the c++ code for the given conditions below.
Q: PROBLEM: Write a program that prompts the user to input three (3) integers: MM, DD, and YYYY. For…
A: Answer: Algorithms first import inbuilt module form date take input form user like MM,DD,YYYY as in…
Q: In-class Python Practice – 2020/02/11 Write a program that asks the user for a number in the…
A: As per our honor code, we are required to answer only one question please repost the other two…
Q: Create a flowchart in which the program gets a number from user and checks if it's a multiple of 3.…
A: NOTE: AS per Bartleby guideline, if there are multiple questions available then we are allowed to…
Q: Write a Phyton program that computes the duration of a projectile’s flight and its height above…
A: the program is an given below:
Q: Write a program that calculates and prints the monthly pay check for an employee. The net pay is…
A: Define header file <iostream> for i/o operations. Define header file <iomanip> for…
Q: Python Help Write a program that asks the user to enter two numbers. The program is supposed to add…
A: Create two variables one for input if user want to continue the operation and one for sum Let the…
Q: Write a program that prompts the user to enter a number with the range of 1 through 10. Validate…
A: int() will parse the input to integer type Here, the requirement is to accept input till you enter a…
Q: Exercise Write the pseudo code and flowchart that will read a file of student test results and…
A: If studentGrade >= 90 Then resultLabel.Text = "A" ' display "A"ElseIf studentGrade >= 80…
Q: This program is to calculate total marks, determine grade of student and count how many students get…
A: The given problem is to be solved using Cprogramming lnaguge where the user will enter the matric…
Q: Begin input hours, rateperhour if hours >25 pay = hours * (rate*1.45) print pay if hours >10 but <25…
A: Introduction of Flow Chart A flow chart depicts the pictorial or graphical representation of any…
Q: Write a program that will calculate the account balance after we deposited the amount of money for a…
A: NOTE: Since programming language is not mentioned. Therefore answering in MATLAB. First input…
Q: A customer has to pay for 7 items. He has only 35 RO with him. The price of the products are: S.NO.…
A: Given data is shown below:
Q: Q1 Convert the following flowchart to C++ code and print the output Flowchart Start Read Temp Temp «…
A: Note: we are only allowed to solve one question in one post. to get answers to others, please post…
Q: Sample output: Please enter a value between 1 and 10000: 5000 LOWER Please enter a value between 1…
A: import java.util.Scanner; public class GuessingGameMain { public static void guessingGame()…
Q: 2. Write a program that calculates marked area of the square, given input of square length and the…
A: You had not specified any programming language for program but As the heading is assesment is…
Q: Suppose a person wants to apply for a loan in a bank. The bank gives loan on a fixed interest rate…
A: SOURCE CODE: #include<iostream> using namespace std; int main(){ double…
Q: Draw a flowchart for a program that: 1) Asks the user to enter from the keyboard electricity…
A: The flowchart is given below:
Q: The Drive-Rite Insurance Company provides automobile insurance policies for drivers. Design a…
A: Since this is a multipart question as per guidelines we are allowed to solve only first three sub…
Q: PLEASE WRITE FLOWCHART FOR THESE CODES, THEY ARE IN ONE QUESTION I JUST NEED THE FLOWCHART FOR THEM,…
A: Note: Answering the first question as per guidelines. Task : Given the C Code. The task is to…
Step by step
Solved in 3 steps with 1 images
- Use C++ programming language A customer in a store is purchasing five items. The prices of the five items are:Price of item 1 = $15.95Price of item 2 = $24.95Price of item 3 = $6.95Price of item 4 = $12.95Price of item 5 = $3.95Write a program that holds the prices of the five items in five variables. Display each item’sprice, the subtotal of the sale, the amount of sales tax, and the total. Assume the sales tax is7%.. Write a program that will calculate the account balance after we deposited the amount of money for a given period (in years) with interest rate. The program shall ask the user to input the amount (m), period (n) and interest rate (r). Write a local function that will calculate the balance (B). Display the result of the balance calculation. Use the formula below for the balance. Save program as LE9-2.m and flowchart/pseudo-code as LE9-2.png or LE9-2.txt. B=m∗(1+r)nThe Drive-Rite Insurance Company provides automobile insurance policies for drivers. Design a flowchart or pseudocode for the following: a. A program that accepts insurance policy data, including a policy number, customer last name, customer first name, age, premium due date (month, day, and year), and number of driver accidents in the last three years. If an entered policy number is not between 1000 and 9999 inclusive, set the policy number to 0. If the month is not between 1 and 12 inclusive, or the day is not correct for the month (for example, not between 1 and 31 for January or 1 and 29 for February), set the month, day, and year to 0. Display the policy data after any revisions have been made. c. A program that continuously accepts policy holders' data until a sentinel value has been entered, and displays the data for any policy holder who is at least 18 years old. d. A program that continuously accepts policy holders' data and displays the data for any policy holder no more…
- The Drive-Rite Insurance Company provides automobile insurance policies for drivers. Design a flowchart or pseudocode for the following: a. A program that accepts insurance policy data, including a policy number, customer last name, customer first name, age, premium due date (month, day, and year), and number of driver accidents in the last three years. If an entered policy number is not between 1000 and 9999 inclusive, set the policy number to 0. If the month is not between 1 and 12 inclusive, or the day is not correct for the month (for example, not between 1 and 31 for January or 1 and 29 for February), set the month, day, and year to 0. Display the policy data after any revisions have been made. b. A program that continuously accepts policy holders' data until a sentinel value has been entered, and displays the data for any policy holder over 40 years old.Using c++ Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an inpatient or an outpatient. If the patient was an inpatient, the following data should be entered: The number of days spent in the hospital The daily rate Charges for hospital services (lab tests, etc.) Hospital medication charges If the patient was an outpatient, the following data should be entered: Charges for hospital services (lab tests, etc.) Hospital medication charges Use a single, separate function to validate that no input is less than zero. If it is, it should be reentered before being returned. Once the required data has been input and validated, the program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the inpatient data, while the other function accepts arguments for outpatient data. Both functions should return the total chargesC++ Write a program that prompts the user to enter the number of students and each student's name and score. and finally displays the name and score of the student with the highest score and the average score.
- A mobile phone app allows a user to press a button that starts a timer that counts seconds.When the user presses the button again, the timer stops. Draw a flowchart, write pseudocode and C++ that accepts the elapsed time in seconds and displays the value in minutes and remaining seconds. For example, if the elapsed time was 130 seconds, the output would be 2 minutes and 10 seconds.Create a flowchart that will compute for the grade of students and print its equivalent grade point. The formula for computing the grade is : GRADE = 10% assignment + 20% seatwork + 30% quiz + 40% exam. Equivalent Grade point ---------------------- 1.0 - 99-100 1.25 - 96-98 1.50 - 93-95 1.75 - 90-92 2.0 - 87-89 2.25 - 84-86 2.50 - 81-83 2.75 - 78-80 3.0 - 75-77 5.0 - below 75Write a program that prompts the user to enter a number with the range of 1 through 10. Validate input do not accept a value less than 1. The program should display the number and Roman numeral version of it separated by a tab. If the number is outside the range of 1 through 10, the program should display an error message. Use int function for input: int(input('Enter … ')) #input validation loop while number <1 : enter your code here Use for n in range(number+1): See Chapter 4 Sample Ouput: Number Roman Numeral 1 I 2 II
- Write a program that prompts the user to input a positive integer, andthen calculates and displays the product of odd integers from 1 to thatnumber inclusive. The program will use the for statement to perform thecalculation. C++ please.Write a program using flowchart (or python, c++) that computes for the average of scores of a student. Scores accepted must be between 0 to 100. Sample console: Enter test scores from 0 to 100. To end the program, enter -1. Enter score: 90 Enter score: 80 Enter score: 150 Score must be from 0 to 100. Try again. Enter score: 75 Enter score: -1 Score count: 3 Score total: 245 Average score: 81.6667draw a flowchartthat will let the user enter 500 numbers. The program will identify the lowestnumber entered by the user, computes for the square of the number and prints it.