Project 9-1: Interest Calculator Create a program that calculates the interest on a loan. Console Interest Calculator Enter loan amount: Enter interest rate: Loan amount: Interest rate: Interest amount: Continue? (y/n): y Enter loan amount: Enter interest rate: Loan amount: Interest rate: Interest amount: Continue? (y/n): n Bye! 520000 5.375 $520,000.00 5.375% $27,950.00 4944.5 1.3 $4,944.50 1.300% $64.28
Q: When pointers are used parameters of a function, which of the following parameter passing methods is…
A: Passing information from calling function (Method) to the called function (method) is known as…
Q: List the top seven computer science criteria for choosing the best file organisation system.
A: List the top seven computer science criteria for choosing the best file organisation system in below…
Q: Where does Windows store deleted files when you use File Explorer or Windows Explorer to remove them…
A: The question is Where does Windows store deleted files when you use File Explorer or Windows…
Q: Suppose a firewall is configured to allow outbound TCP connections but inbound connections only to…
A: A firewall is a network security system that monitors and controls incoming and outgoing network…
Q: ould be the config of a computer (A support a 32-bit word computer sys
A:
Q: What are the basic interfaces of Java Collections Framework?
A: The Collection framework describes a unified architecture for storing and manipulating a group of…
Q: Hello. Can you assist with the folliwing Q.1.1. List four phases of the project life cycle from…
A: project management process having includes four phases: initiating, planning, executing, closing.
Q: Using Tkinter could you make a form page to fill in first name and last name and age with a button…
A: Python offers many options for developing GUI but Tkinter is used mostly. Tkinter is a standard…
Q: с ↑ EXPERT SOLUTION…
A: Here's the solution:
Q: JAVA Programming Write a function that returns true if you can partition an array into one element…
A: Algorithm - Take one string as input. Now use the below logic if(count==1) return false;…
Q: illustrate the execution of the in-place heap sort algorithm in the following input sequence: (2, 5,…
A: Solution:
Q: Given a string, reverse all the words which have odd length. The even length words are not changed.
A: Start split the string with spaces to an array loop over the array and check if the length of…
Q: What does "design workstation" mean? Use examples and figures to illustrate the subject.
A: Please find the detailed explanation in the following steps.
Q: Q1. 4X₁ + 3X₂ + 5X3 = 4 3X₁ + 2X₂ - 4X3 = 7 -2X₁₂ + 4X₂ + 3X3 = 5
A: “Since you have asked multiple question, we will solve the first question for you. If you want any…
Q: Write a python program to find the potentia energy using the total energy & kinetic energy. All the…
A: I have mentioned answer in below Description : Total energy=potential energy + kinetic energy…
Q: write a makefile that will compile the Tiles In stions. F
A: Makefile:- Make is Unix utility that is designed to start execution of a makefile. A makefile is a…
Q: Write a python code for rack, paper, scissor game (using if-else and game continue until user enter…
A: Python Code for above : import random def play(): options = ["ROCK", "PAPER", "SCISSORS"]…
Q: 1. One of the advantages of a Hadoop implementation is that it provides a high level of computing…
A: 1. → Hadoop : - Hadoop is a Java based, open source software framework that is used for distributed…
Q: Who are the people involved in the phases of Waterfall Model
A: Waterfall model is a classical model used in system development life cycle to create a system with a…
Q: 2. Matrix Quantum Mechanics. Use python matrix and algebraic tools for this problem. Consider…
A: Yes, the operators C and P commute. To find the eigenvalues and normalized eigenvectors of given…
Q: PYTHON!! Solve problem by using PYTHON Program to remove the ith occurrence of the given word list…
A: Code: a=[]n= int(input("Enter the number of elements in list:"))for x in range(0,n):…
Q: 4. Create two column vectors x and y of 100 elements with random values between 10 and 10. To create…
A: We need to write a Python code for the given scenario.
Q: el Turing machine which decides the following language
A: The answer of this question is as follows:
Q: Do the following rules using ONLY inference rules and CP (no replacement rules or IP) 1. TD ~(QS) 2.…
A: Explanation:
Q: 2.1 Using the value -35, write it as binary and hexadecimal formats.
A: The given value is -35 Binary format : The binary format of 35 is "100011" Now take the 2's…
Q: key and foreign keys (arrows) must be identified. Code BANK Name Addr Phone BRANCHES Acct no San…
A: Here the entity BankBranch is a weak entity and therefore we need to include primary key of Bank as…
Q: Your task is to create a function that simulates a vending machine. Given an amount of money (in…
A: function vendingMachine(products, money, number) { let coins = [500,200,100,50,20,10], result =…
Q: Barbie has 8 shirts, 5 pair of pants, 3 purses, and 9 pair of shoes, and 3 pairs of socks, how many…
A: Barbie has 8 shirts, 5 pair of pants, 3 purses, and 9 pair of shoes, and 3 pairs of socks, how many…
Q: If any of our computers sends a broadcast what will our switches do?
A: Broadcast: It involves electronically as well as simultaneously sending information containing…
Q: (7 points) Write a function that can find the largest item in the array and returns it. The function…
A: MASM code given below : [org 0x0100]jmp start array_nums: dw 10, 34, 2, 56, 67, -1, 9, 45, 0, 11 ;…
Q: In breadth first traversal, starting at the first vertex, the graph is traversed as little as…
A: Here we have given the option based on breadth first traversal.You can find the solution in step 2.
Q: Fixed-price contracts, where the contractor bids a fixed price to complete a system development, may…
A: Answer :
Q: In this problem, we consider sending real-time voice from Host A to Host B over a packet switched…
A:
Q: How many times is the body of the loop executed? The numbers on left are line numbers. 1 int…
A: The correct answer is given below with explanation
Q: Write an SQL query to fetch the count of employees working in project ‘P1’. Please define the query
A:
Q: 2. (a) (b) (c) Write the commands for each of the following operations: Create a row vector x of 5…
A: The package NumPy is the package for scientific computing in python programming.
Q: Given a string, reverse all the words which have odd length. The even length words are not changed.…
A: Note: Since no programming language is mentioned, the program has been given in Java. The same logic…
Q: To further increase the statistical knowledge of your fight, count the number of times a certain…
A: In this problem we need to design the Java script program. Input - an object that contains several…
Q: Warning: Not copy code again and again. N
A: You did not mention writing a particular programming language so we provide python code for you.…
Q: Use 4-bit version(result 8-bit), do the division with the given data: 9 (dividend) and 3 (divisor).…
A: Binary division must be performed where 9 (dividend) and 3 (divisor) Using the division algorithm.…
Q: 4. Using the 16 bit (half precision) representation of floating-point numbers, with 5 bits for the…
A:
Q: ing computer gear. Do you believe that the strongest sales opportunities for recent college…
A: Introduction: To put it another way, the physical Computer hardware is a set of components required…
Q: What do you mean by subnet mask?
A: According to the question the subnet cover are by and large utilized for 32 pieces manage used to…
Q: Regardless of how user level threads are implemented, if a programme has two or more user level…
A: The answer to the question is given below
Q: Write a python code for rock, paper, scissor game (using if-else and game continue until user enter…
A: Python Code for above : import random def play(): options = ["ROCK", "PAPER", "SCISSORS"]…
Q: Write a program that outputs the nodes of a graph in a depth-first traversal.
A: According to BartleBy Guidelines we need to answer only one question So I have answered first…
Q: What fundamentally distinguishes the telephone network from the Internet
A: The Internet and phone networks are both switched networks that use circuit and packet switching.
Q: Obtain the cipher text for the plain text "mosque" using playfair cipher. All steps should be…
A: We need to encrypt 'mosque' using playfair cipher.
Q: JAVA Script A Happy Year is the year with only distinct digits. Create a function that takes an…
A: A Happy year is a year with only distinct digits. Create a function that lasts an entire year and…
Q: Assume an 8088 is executing a program in which the probability of a program jump is 0.1. For…
A:
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Python. Use the Decimal class instructions in solution.
Step by step
Solved in 2 steps with 1 images
- MadLib Game bigGame.py Write a program that plays a MadLib game with the user. The program should ask the user to enter the following words: A plural noun (PNOUN1) A person’s first name (FNAME) A noun (NOUN1) A person’s last name (LNAME) A second plural noun (PNOUN2) A place (PLACE1) A third plural noun (PNOUN3) Another place (PLACE2) A fourth plural noun (PNOUN4) A second noun (NOUN2) An adjective (ADJECTIVE1) A second adjective (ADJECTIVE2) A verb (VERB) A third adjective (ADJECTIVE3) After the user has entered these items, the program should display the following story, inserting the user’s input into the appropriate locations: Hello there, sports PNOUN1!This is FNAME, talking to you from the press NOUN1in LNAME Stadium, where 57,000 cheering PNOUN2Have gathered to watch (the) PLACE1 PNOUN3take on (the) PLACE2 PNOUN4.Even though the NOUN2 is shining, it’s a/an ADJECTIVE1cold day with the temperature in the ADJECTIVE2 20s.We’ll be back for the opening VERB -off after a few…Restaurant: Point-of-Sales System Create a software application that can be used for a Restaurant using C language. The expected minimum functionality are as follows: Menu Display It must display at least 10 choices with their corresponding prices On your menu, at least one of the categories/choice should have customization/add-on. You should have at least 3 customization/add-on (e.g. In Starbucks, you can have extra espresso shot). Taking Orders As a customer, I want to select which of the choices I want to order As a customer, everytime I specify select my choice, I want to specify the quantity of my selected choice. After I finished my order, it should ask, "Anything Else?". Afterwards, as a customer, I should be to enter my succeeding choice. In order to stop taking order, the exit should be part of the menu. As a customer, I would only select that choice to exit If the customer selects a choice qualified for customization, after specifying the quantity, I should be asked,…Project 10-3: Interest Calculator Create a program that calculates the interest on a loan. This program should make it easy for the user to enter numbers. Console Interest Calculator Enter loan amount: Enter interest rate: Loan amount: Interest rate: Interest amount: Continue? (y/n): y $100,000 12.275 Loan amount: Interest rate: Interest amount: Continue? (y/n): n $100,000.00 2.275% $2,275.00 Enter loan amount: 100K Enter interest rate: 2.275 $100,000.00 2.275% $2,275.00 Bye! Specifications Use the Decimal class to make sure that all calculations are accurate. The program should round the interest that's calculated to two decimal places, rounding up if the third decimal place is five or greater. • The interest rate that's displayed can have up to 3 decimal places. • Assume that the user will enter valid decimal values for the loan amount and interest rate with these exceptions: • If the user enters a dollar sign (S) at the beginning of the loan amount, remove it from the string before…
- Project 9-1: Interest Calculator Create a program that calculates the interest on a loan. Console Interest Calculator Enter loan amount: Enter interest rate: Loan amount: Interest rate: Interest amount: Continue? (y/n): y Loan amount: Interest rate: Interest amount: 520000 5.375 Continue? (y/n): n $520,000.00 5.375% $27,950.00 Enter loan amount: Enter interest rate: 1.3 4944.5 $4,944.50 1.300% $64.28 Bye! Specifications • The formula for calculating the interest amount is: loan_amount (interest rate / 100) Use the Decimal class to make sure that all calculations are accurate. It should round the interest that's calculated to two decimal places, rounding up if the third decimal place is five or greater. • The interest rate that's displayed can have up to 3 decimal places. Assume that the user will enter valid decimal values for the loan amount and interest rate.Following code in C using random Name Reg no and highschool name Use switch case in C language to do the following: Create a restaurant with the name “Your Name - Reg_No – Name of your highschool” The restaurant should come with the options of delivery and take away and the choice should be displayed as “Delivery – Registration No” and “Takeaway – Name” Each option should have the same menu and an extra 15% charge be included if a customer wants home delivery Both menus should have two items that are customizable, such as a burger can have chillies removed, cheese added and extra mayonnaise. The user should have the option of choosing multiple items with multiple quantity. Print a bill in the end.Microfost Visual C# 7th edition programming exercise 6-10. I need help, please. This problem relies on the generation of a random number. You can create a random number that is at least min but less than max using the following statements: Random ranNumberGenerator = new Random();int randomNumber;randomNumber = ranNumberGenerator.Next(min, max); Create a game similar to Hangman named GuessAWord in which a player guesses letters to try to replicate a hidden word. Store at least eight words in an array, and randomly select one to be the hidden word. Initially, display the hidden word using asterisks to represent each letter. Allow the user to guess letters to replace the asterisks in the hidden word until the user completes the entire word. If the user guesses a letter that is not in the hidden word, display an appropriate message. If the user guesses a letter that appears multiple times in the hidden word, make sure that each correct letter is placed. Figure 6-27 shows a typical game…
- PYTHON programming solotion Develop a program that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8. The program must display a multiplication table with results using these values. For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows: Multiplication Table 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 additionally Each multiplication problem must be displayed with a problem number. The program must prompt the user to enter an answer to each of the multiplication problems. The correct answer should be displayed after the user enters an answer. A message should be displayed informing the user that the answer entered was correct or incorrect followed by an appropriate motivating comment. A running record of the number of correct and incorrect responses must be kept. After all the problems have been presented the user must be informed of…Web page bill calculator. User inputs the "item name" and "item amount" on the webpage. The webpage will return the total money he need to pay. If the payment is more than 30 dollars, the user can have a 10% off discount. Bill = (item cost )* (# of items) Item cost apple orange peach $1.2 $2Name: Instructor Course: ITSE 2321 Object-Oriented Programming (Java) Program: Four This program computes an employee's gross, net, and overtime pay. Enter your ID Number: 1001 Enter your pay rate: 12.50 Enter your hours worked: 36 Program 4 ID Number: Pay Rate: Regular Hours: Overtime Hours: Total Hours: Regular Pay: Overtime Pay: Gross Pay: Tax: Deductions: Net Pay: 1001 12.50 36.00 0.00 36.00 450.00 0.00 450.00 0.00 35.00 415.00
- Phython assignment Exercise 1: Oreo cookies Check out the nutritional values of an Oreo cookie (Koppelingen naar een externe site.). Write code that does the following: calculate how much one Oreo cookie is concerning: calories, sodium, carbohydrate, fat create a user input that asks how much cookies you ate calculate how much calories, etc. you consumed warn the user that if he/she surpasses 2000kcal he/she should stop eating these darn delicious cookies use variables!This is an operator used to assign a value to a variable. It works by transferring the value on its right to the variable on its left. greater than / equal (>=) equal (= =) less than / equal (<=) assignment (=)Textbook: Joyce Farrell, Microsoft® Visual C#®: An Introduction to Object-Oriented Programming, Seventh Edition, ISBN: 9781337102100.Microsoft Visual C# (chapter 5 code case problem 5-2) Assignment instruction: In Chapter 4 of your book, you created an interactive application named MarshallsRevenue that prompts a user for the number of interior and exterior murals scheduled to be painted during a month and computes the expected revenue for each type of mural. The program also prompts the user for the month number and modifies the pricing based on requirements listed in Chapter 4. Now, modify your program so that the user must enter a month value from 1 through 12. If the user enters an incorrect number, the program prompts for a valid value. Also, the user must enter a number between 0 and 30 inclusive for the number of murals of each type; otherwise, the program prompts the user again. In order to prepend the $ to currency values, the program will need to use the…