4. Make a program that will follow the format of the program output below and analyze as well the formula applied how it came up with the result. Example: Enter number of coins per value: ten-peso coin: five-peso coin: 2. one peso coin: 2 twenty-five centavo coin: 4 You have total of 12 coins amounting to Php 43.00
Q: For the "internet" below with six websites, (a) Construct the ranking matrix for the system. (b) Fin...
A: In questions with many parts, we must answer the first The above formula can be used to rank matr...
Q: What are the advantages and disadvantages of cloud migration?
A: Introduction: Cloud migration allows for cloud computing, in which the cloud replaces mobile devices...
Q: awk is similar to the SQL language in that you can query certain records. What command below will se...
A: Solution: The AWK works to scan the each line of text or the records in the file and carry out any i...
Q: Create a website that has a content like trivia, a novel, a synopsis of your favorite television sho...
A: Put 2 file index.html and style.css in a folder that runs the index.html file in a browser, you will...
Q: Write the details algorithm and convert into java code for the solution of the following problem In ...
A: SUMMARY: -Hence we discussed all the points.
Q: implement a search algorithm to apply to a particular problem they are facing. The problem has the f...
A: The problem has the following characteristics:● The graph representing the problem has a very high f...
Q: /** * Simulate helping a student */ #include #include #include #include "ta.h" void help_studen...
A: The error in the code is corrected and written in the following step. This code is of C++. C++ progr...
Q: Design a program that asks the user to enter a string • The string will then be displayed back to th...
A:
Q: Direct mapped cache
A: What is Direct Mapping Process ? Direct mapping is a procedure used to assign each memory block in t...
Q: Discuss how you might use the collaborative features that allow you to share and work on a document ...
A: The share button that can chose the file as the share of the document as the location that can be re...
Q: MCQS OF SOFTWARE QUALITY ASSURANCE 1.Testing the application as a whole for the modification in any ...
A: Note: Since the question is multipart we are advised to do only first three parts. Kindly post other...
Q: Differentiate between Internet and phone access.
A: Introduction: Below, I describe the difference between Internet or online access and phone access or...
Q: The several methods of file access are listed here. I'm wondering about the benefits and drawbacks o...
A: Introduction: The most basic file access method is: File organization is nothing more than gathering...
Q: If it takes 10ms to run program (A) for n=100, how large a problem can be solved in 40ms? Explain
A: answer is
Q: The following characteristics should be present in a good wireless security toolkit.
A: answer is
Q: How crucial is software development? Four more characteristics, in your opinion, should be incorpora...
A: Introduction: Software development's ability to create and provide value to its users cannot be emp...
Q: Why are watchdog timers required in such a large number of embedded systems?
A: Introduction: When a microprocessor or microcontroller is used in an embedded system, it refers to a...
Q: What exactly is a Web server, and how does it function?
A: A Website is a place on the Internet located through a particular URL like google.com, facebook.com....
Q: Analyze the way hardware registers are implemented in terms of logic gates
A: Here we have given the solution for the way hardware registers are implemented in terms of logic gat...
Q: You have the network 192.168.10.0/24. How many subnets and hosts are available? A) 1 subnet with 10...
A: The solution for the above-given question is given below:
Q: After completing this course successfully, you have been tasked with configuring a local area networ...
A: LAN: A local area network (LAN) is a group of computers and peripheral devices that share a common c...
Q: Abstract: the main purpose of this experiment is build real time system using PPI 8255 to control de...
A:
Q: How are centralized and parallel/distributed databases different?
A: Let us see the answer:- Introduction:- Centralized data networks keep all of the data on a single co...
Q: Given the grammar (2 = {a, b, c,+,-}) S →E →E +T|T →T*F|T/F|F → (E) | a | b | a E T F Write down a l...
A:
Q: To what extent is fiber optics a superior transmission medium to that of copper?
A: Answer Fiber optics a superior transmission medium to that of copper in terms of speed, reliability...
Q: In the process of applying out algorithm for determining distinguishability of states, which of the ...
A: For Getting the optimal solution to this issue we can consider here two algorithms. Prims Algorithm...
Q: Describe the various types of memory technologies.
A: Memory technologies include: In computer architecture, the memory hierarchy is employed. It uses rea...
Q: Determine whether there is a feasible schedule for the following set of periodic processes. If yes, ...
A: Given Determine whether there is a feasible schedule for the following set of periodic processes. If...
Q: programme counter
A: In step 2, I have provided answer.
Q: What are the other two most significant roles of an operating system, besides process management, do...
A: Let's also know Operating System: An operating system (OS) is system software that manages computer...
Q: Select ONE (1) research area in artificial intelligence that contribute to special needs people or s...
A: Here we have given the contents of the presentation by mentioning the slide number and its contents....
Q: Heidegger concluded his treatise on technology by saying: “The closer we come to the danger, the mo...
A: “The closer we come to the danger, the more brightly do the ways into the saving power begin to shin...
Q: explain what is secure application development and explain why is it important
A: Let's see the solution in the next steps
Q: he source IP address for an IPv4 datagram is stored where in the header?
A: c. 4th longword (bytes 13-16) The answer is 4th longword ( bytes 13-16) The ip datagram consistm o...
Q: The Pep/9 emulated hardware has 64K of RAM, as we know. But how is that memory put to use? Everythin...
A: Pep/9 hardware The disc, central processor unit, and main memory are the three components of the pe...
Q: Invoices, MS Excel spreadsheets, printed documents and handwritten notes are examples of what? R...
A: To find "Invoices, MS Excel spreadsheets, printed documents and handwritten notes are examples of --...
Q: Explain the three formats of MIPS instructions and show how they are different each other.
A: Explain the three formats of MIPS instructions and show how they are different each other.
Q: What are the different sorts of programmes that come with operating systems? Give three to four exam...
A: Following are the sorts of programmes that come with operating systems Batch Operating System Mobil...
Q: java: // Class to do MergeSort and QuickSort on int arrays and test them public class MergeQuickS...
A:
Q: For the following data definition: .data value: .word 15 letters: .byte 'T', 'i', 'm' num: ...
A: Given The answer is given below.
Q: 1. What does if statement do. 2. What does for statement do. 3. Give the syntax for if statement, fo...
A: The if statement begins with a condition, and has a block after it. A condition is nothing but an ex...
Q: Define a problem with input, output, and Operator Overloading. If no output explain the reason why a...
A: cpp code:- /* adds two complex numbers *///overload the binary operator + #include <iostream&g...
Q: 8. {w| w contains the substring 0101} U {w| w does not contain the substring 110} List the first 5 s...
A: NFA stands for Non-deterministic finite automata. We call a finite automata as NFA when many paths a...
Q: What are the critical considerations when choosing an operating system for an embedded system?
A: The question is to find the critical considerations when choosing an operating system for an embedde...
Q: What characteristics distinguish n-tiered transaction processing architectures from single-tiered tr...
A: N-Tier Transaction Processing: N-tier architecture is also called multi-tier structure due to the fa...
Q: source programs and the screenshots of your MARS execution windows. 2. Create the data declaration ...
A: 1) program : .dataName: .asciiz "James"Age: .byte 24Numbers: .word 11, 33, 20Letter1: .asciiz "M" ...
Q: Complete the below function in Python language def checkPassword(pass): #pass must have length betwe...
A: Coded using Python 3.
Q: Using C and implementing MPI how would you find the global sum and make sure their all the same in C...
A: Introduction: Using C and implementing MPI how would you find the global sum and make sure their all...
Q: (b) Construct the conditional FP-tree for item f, which will be denoted as Tf. The set of recor...
A: The conditional FP tree is a subtree that is constructed by evaluating a specific item's interaction...
Q: Assume that you intercept the following ciphertext and you know that it was encrypted using an addit...
A: Given data, Assume that you intercept the following ciphertext and you know that it was encrypted us...
C++ program. Thank you
Step by step
Solved in 4 steps with 2 images
- Write a program that calculates a weekly wage, based on an hourly payrate and how many hours were worked; then amounts for various categories of spending need calculated, along with how much of the weekly pay is leftover. • Tax = 15% • Shopping = 20% • Entertainment = 10% • Savings = 25% • Remainder = 30% (or you could subtract to find what’s left) In c++Write a program that calculates the energy neededto heat water from an initial temperature to a final temperature. Your programshould prompt the user to enter the amount of water in kilograms and the initialand final temperatures of the water. The formula to compute the energy isQ = M * (finalTemperature – initialTemperature) * 4184where M is the weight of water in kilograms, initial and final temperatures are indegrees Celsius, and energy Q is measured in joules. Here is a sample run: Enter the amount of water in kilograms: 55.5Enter the initial temperature: 3.5Enter the final temperature: 10.5The energy needed is 1625484.0You are working for a lumber company, and your employer would like a program that calculatesthe cost of lumber for an order. The company sells pine, fir, cedar, maple, and oak lumber.Lumber is priced by board feet. One board foot equals one square foot that is one inch thick. Theprice per board foot is given in the following table: (image 1) The lumber is sold in different dimensions (specified in inches of width and height, and feet oflength) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which whendivided by 12 = 5.333 board feet). An entry from the user will be in the form of a letter and fourinteger numbers. The integers are the number of pieces, width, height, and length. The letter willbe one of P, F, C, M, O (corresponding to the five kinds of wood) or T, meaning total. When theletter is T, there are no integers following it on the line. The program…
- Hi, I need help with the following assignment. Implement a program that reads in a year and outputs the approximate value of a Ferrari 250 GTO in that year. Use the following table that describes the estimated value of a GTO at different times since 1962. Year Value 1962-1964 $18,500 1965-1968 $6,000 1969-1971 $12,000 1972-1975 $48,000 1976-1980 $200,000 1981-1985 $650,000 1986-2012 $35,000,000 2013-2014 $52,000,000Write a program that reads the amount of a monthly mortgage payment andthe amount still owed—the outstanding balance—and then displays theamount of the payment that goes to interest and the amount that goes toprincipal (i.e., the amount that goes to reducing the debt). Assume that theannual interest rate is 7.49 percent. Use a named constant for the interest rate.Note that payments are made monthly, so the interest is only one twelfth ofthe annual interest of 7.49 percent.You are working for a lumber company, and your employer would like a program that calculates the cost of lumber for an order. The company sells pine, fir, cedar, maple, and oak lumber. Lumber is priced by board feet. One board foot equals one square foot that is one inch thick. Theprice per board foot is given in the following table: Pine 0.89Fir 1.09Cedar 2.26Maple 4.50Oak 3.10 The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 5.333 board feet). An entry from the user will be in the form of a letter and four integer numbers. The integers are the number of pieces, width, height, and length. The letter will be one of P, F, C, M, O (corresponding to the five kinds of wood) or T, meaning total. When the letter is T, there are no…
- Write a program that begins by reading a number of cents from the users as an integer (this is input from the user). Your program should then compute and display the denominations of the coins that should be used to give that amount of change to a shopper in coin denominations (Assume that the change machine is loaded with pennies, nickels, dimes, quarters, loonies and toonies).The change should be given using as few coins as possible. For example : you input 455 cents, it tells you that you have: 2 Toonies 2 quarters 1 nickle REMEMBER : you need to work with remainders and floor division4 – A clothing store added a promotion which give 20% discount on t-shits if the total cost of purchased t-shirts is more than $1500.00. Assuming that each t-shirt costs $150.00, write a python program that asks user how many t-shirts he/she wants to purchase and print the total cost.C++, How do I write a program that asks how many tickets for each class of seats were sold, then displays the amount of income generated from ticket sales? Class A costs $15, Class B costs $12, and class C costs $9.
- You are working for a lumber company, and your employer would like a program that calculates the cost of lumber for an order. The company sells pine, fir, cedar, maple, and oak lumber. Lumber is priced by board feet. One board foot equals one square foot that is one inch thick. Theprice per board foot is given in the following table: Pine 0.89Fir 1.09Cedar 2.26 Maple 4.50Oak 3.10 The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 5.333 board feet). An entry from the user will be in the form of a letter and four integer numbers. The integers are the number of pieces, width, height, and length. The letter will be one of P, F, C, M, O (corresponding to the five kinds of wood) or T, meaning total. When the letter is T, there are no…Let's modify the program from this section so that the user can supply the interest rate. For very small interest rates, it may take a very long time for the balance to double. Assume the user can't wait for more than twenty years. Stop adding interest when the balance has doubled or twenty years have elapsed. 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 finaldoubleTARGET=2*INITIAL_BALANCE; doublebalance=INITIAL_BALANCE; intyear=0; Scannerin=newScanner(System.in); System.out.print("Interest rate in percent: "); doublerate=in.nextDouble(); // TODO: Count the years required for the investment to double // but no more than 20 years /* Your code goes here */ System.out.println("Year: "+year); System.out.printf("Balance: %.2f%n", balance); }Write a program that takes your full name as input and displays the abbreviations ofthe first and middle names except the last name which is displayed as it is. Forexample, if your name is Robert Brett Roser, then the output should beR.B.Roser.