C++ program Vs Coding please!! General Crates, Inc. builds custom-designed wooden crates. With materials and labor, it costs GCI $0.23 per cubic foot to build a crate. In turn, they charge their customers $0.50 per cubic foot for the crate. You have been asked to write a program that calculates the volume (in cubic feet), cost, customer price, and profit of any crate GCI builds. Once calculated, display the volume, cost, customer price, and profit to the user.
Q: Involving users directly in the software development process has the risk of causing them to "go…
A: Problems with user engagement in the development team: The Go-native problem comes when the user is…
Q: Some of the concerns that need to be considered while creating an information system architecture…
A: The solution for the above given question is given below:
Q: What do you think of the modern-day "Mechanical Turk?" A modern Turkish person is distinct from an…
A: INTRODUCTION: What is the called "Mechanical Turk"? Mechanical Turk was named after "The Turk," an…
Q: es agile development work well with certain types of syst
A: Lets see the solution.
Q: The use of the SSTF disc scheduling technique comes with a number of risks.
A: disc scheduling in the SST framework In order to decide the order in which data is retrieved from…
Q: Describe the steps in adding outside-AS destination in a router’s forwarding table.
A:
Q: I'd appreciate it if you could explain the differences between the ARM and core i3 architectures.
A: Between the L1 and L2 cache, the following buffers are required. Between the L1 cache and the L2…
Q: 0: An institution has four networks (30 hosts, 12 hosts, 16 hosts and 6 nosts) if the major network…
A: The given address is 192.168.100.89 This address belongs to class C where number of network bits is…
Q: Why isn't virtual memory used more commonly in embedded systems?
A: embedded systems, do not use virtual memory, because they require faster response time, or that…
Q: 10. The following code segment is intended to remove all duplicate elements in the list myList. The…
A: We are given a code's logic which is suppose to remove duplicates from the given list. But this…
Q: In and out of each stage of life has its own set of needs. How do you know when to begin a new…
A: Introduction: It is a set of actions carried out throughout the testing process to guarantee that…
Q: According to the engineering perspective, "life testing" involves determining whether a product will…
A: True
Q: Write a program will then ask for the prelim grade, midterm grade and final grade of the student.…
A: The program is written in python.find the program in below steps.
Q: Suppose you desire a software programme identical to Windows Calculator developed by a third-party…
A: Statement of objectives (SOO): It establishes a broad goal on which the task statement is built…
Q: Please help me fix this code Make it run out like the picture
A: Question given - A program code is given, fix it so it can generate given output. Solution -…
Q: Important structural components of a computer should be identified and immediately specified.
A: Important structural components of a computer
Q: Assume that there is a constant roundtrip delay between the sender and the receiver, and that the…
A: INTRODUCTION: PACKET: A packet is a short piece of data routed between an origin and a destination…
Q: Build a code for the following display using nested loops. 5 4 3 2 1 1 23 4 5 1234 123 а. b. 5 4 3 2…
A: The given code is in C programming language: Code Screenshot: a. b.
Q: What would be the output of the following program?
A: Explanation: Answer is 21 Explanation It uses the concept of nested list. The elements of nested…
Q: Write a program in Cusing the do/while loop to print the numbers from 1 to 10 and find their sum and…
A: In the above code, it has been asked to print the average and sum of 1-10 numbers, in the following…
Q: Which features of Azure Domain are particularly useful? Beyond Microsoft, there are several more…
A: There are lot of features which azure domain offers . Some of them are listed below : 1. Identity…
Q: rite C++ appropriate specification/declaration statements for: a. An array of integers with 12 rows…
A: According to the Question below the Solution:
Q: Given the following array, int num[5]={3,6,9,12,15}, what will be the value of score for the given…
A: The given array is, int num[5] = {3,6,9,12,15} In array all the elements are at a index, from which…
Q: Write an essay in which you compare and contrast CPU Scheduling Algorith
A: Introduction: For comparing CPU scheduling techniques, a number of criteria have been proposed. Any…
Q: Identify the stage of the compiler that might result in a syntax mistake.
A: This type of error happens during the syntax analysis phase. During the execution of a program, a…
Q: 4. Write program to evaluate the following polynomial function: f(x) = 2x³ + 5x² – 7x - 9 Prompt…
A: Input : Input x Output : Polynomial value in the given form.
Q: If building a new system architecture to serve the new service presents any obstacles, would cloud…
A: EXPLANATION: Organizations encounter the following challenges while creating their infrastructures:…
Q: Tid Items bought 2000 A,B,C A C 1000 A,C - What is the support of this rule? - What is the…
A: Let's first understand what is mentioned in the table . In the table the transactions of maybe a…
Q: Convert the following if block to select case If x =10 and x <=15 then IblRes.Text = "Between 10 and…
A: If x<10 then LblRes.text="Below 10" else if x>=10 and x<=15 then LblRestext ="Between…
Q: In programming, a for construct is used to create a loop that processes a list of items. In order to…
A: Introduction: The for loop is a conditional iterative statement in programming that is used to check…
Q: How did Ubuntu get its start as a branch of another Linux distribution?
A: Introduction: He came up with the idea for of the Ubuntu Foundation in 2004. He was born in South…
Q: To analyse daemon processes, you must use the -e option in conjunction with the ps command. This is…
A: Introduction: In arithmetic, a proposition is regarded as valid if it is correct, whereas it is…
Q: a) What is the size of the code, i.e., how many different words are there? b) The Hamming weight of…
A: Here, we are going to find out the size of the binary code and also number of codewords who have…
Q: Draw the binary search tree if the pre-order and in-order traversals of that binary search tree are…
A: Here in this question we have given Pre-order traversal as 7, 4, 2, 3, 6, 5, 12, 9, 8, 11, 19, 15,…
Q: 1. Convert numbers among different number systems: a. (2022 )10 =( b. (2143 )10 =( c. ( )10= ( d. (…
A: a) Decimal: 2022 Binary: 11111100110 Hexadecimal: 7E6 b) Decimal: 2143 Binary: 100001011111…
Q: 1.) What is wrong in the given statement below? fmName.text = 123 Select one: a. text should be…
A: b. 123 should be “123”
Q: When it comes to embedded systems, watchdog clocks are critical.
A: To explain when it comes to embedded systems watchdog clocks are critical.
Q: The use of the SSTF disc scheduling technique comes with a number of risks.
A: We are going to discuss risks involved with the SSTF disk scheduling algorithm.
Q: In computing, an application programming interface (API) is referred to as "programming language."…
A: Introduction: Through an application programming interface, or API, companies can make their data…
Q: Provide a succinct explanation of the five (5) essential process scheduling policy factors that must…
A: Introduction: The five (5) elements for an effective process scheduling policy that must be…
Q: Which applications, in your opinion, stand to benefit the most from mistake correction? Wireless…
A: Introduction: Correction of errors"Yes," says the author, "error correction is best employed with…
Q: Create a program that declares variable to hold number of eggs of a chicken. Your program will…
A: The Scanner class is used to get user input.
Q: Select ALL the valid binary search trees (BSTS) from the following. root 22 15 12 2 root 13 25 2 18…
A: In Binary Search Tree: The left subtree of a node will contain only nodes with keys lesser than the…
Q: The algorithm solves the problem of size n by recursively solving sub-problems of size n – 1, and…
A: Here we are going to find the complexity of given algorithm’s description. Using substitution method…
Q: In programming, a for construct is used to create a loop that processes a list of items. In order to…
A: Construct using a "for" clause: A looping construct is the "for" construct. It may be used to…
Q: What object is needed to get data from the end user? Select one: a. textbox b. form c. label It…
A: 1) a textbox 2) d Toolbox 3) d
Q: Write a C program language Define a function that will calculate the sum of all the numbers…
A: I have provided this answer with full description in step-2.
Q: MS-many Excel's data-protection options are presented. Give examples to support up your claim, if…
A: MS-Excel id developed by Microsoft.
Q: Define "emerging technologies".
A: The solution to the given question is: Emerging technologies can be defined as the different…
Q: Explain the differences between an SSD and a magnetic disc.
A: Introduction SSD: The full form of SSD is Solid-State Drive. It is nothing but a huge storage…
C++ program Vs Coding please!!
General Crates, Inc. builds custom-designed wooden crates. With materials and labor, it costs GCI $0.23 per cubic foot to build a crate. In turn, they charge their customers $0.50 per cubic foot for the crate. You have been asked to write a program that calculates the volume (in cubic feet), cost, customer price, and profit of any crate GCI builds. Once calculated, display the volume, cost, customer price, and profit to the user.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- In C++, write a program that calculates and prints a monthly paycheck for an employee. The net pay is calculated after taking the following deductions from the employee's gross salary: Federal Income Tax: 17.5% State Tax: 9.1% Social Security Tax: 6.2% Medicare Tax: 1.45% Retirement Plan: 9.29% Health Insurance: $51.48 Life Insurance: $3.71 Your program will prompt the user to input the employee ID, the employee name, and the employee's monthly gross salary. The program will calculate the deductions listed above, along with the percentage of take home pay (defined as the net pay divided by the gross salary). After calculating each deduction and percentage, the output will be printed to the screen (see example output below). Requirements All decimal numbers must be formatted to 2 decimal places. Ask for the employee's ID first, then full name (can include spaces), then the salary. The prompt to enter the salary must include the employee name. The employee ID MUST be…Q1) How to write a C program segment that prompts and accepts the age and number of hours the customer has spent in the “FUNNY Theme Park”. Then, displays the charges based on the rates shown in Figure 2 below : Age Range Rate ( per hour) (RM)0-20 1.0021-50 3.50Above 50 2.00 In your program, you have to make use of THREE(3) different defined constants for the value of rate per hour and declare the necessary variables.In C++ Write a program that can be used to calculate the federal tax. The tax is calculated as follows: For single people, the standard exemption is $4,000; for married people, the standard exemption is $7,000. A person can also put up to 6% of his or her gross income in a pension plan. The tax rates are as follows: If the taxable income is: Between $0 and $15,000, the tax rate is 15%.Between $15,001 and $40,000, the tax is $2,250 plus 25% of the taxable income over $15,000.Over $40,000, the tax is $8,460 plus 35% of the taxable income over $40,000. Prompt the user to enter the following information:Marital statusIf the marital status is “married,” ask for the number of children under the age of 14Gross salary (If the marital status is “married” and both spouses have income, enter the combined salary.)Percentage of gross income contributed to a pension fund Your program must consist of at least the following functions:Function getData: This function asks the user to enter the…
- in C++ Customers at a popular home improvement store come in and ask you how many pavers and how much gravel and sand they will need to install a patio. Write a program to calculate these quantities and also provide a cost estimate for the project. All your work will be done in the main function. First, you declare the variables needed for the calculation. After you write your class header, ask the customer to enter the patio’s width and length (in feet, a double or float). How many pavers will your customer need? First, calculate the patio area. There are many patterns for putting down pavers. Rather than lay out the exact pattern, allow 10% more square feet for pattern matching and waste. The pavers that you are selling today are 4 inches x 8 inches. Calculate the number of pavers needed and round up to the next whole paver. Next calculate the volume of gravel and sand needed for the patio: The volume of gravel needed for the base of the patio is enough to provide a base with…C++ Programming Exercise: A real estate office handles, say, 50 apartment units. When the rent is, say, $600 per month, all the units are occupied. However, for each, say, $40 increase in rent, one unit becomes vacant. Moreover, each occupied unit requires an average of $27 per month for maintenance. How many units should be rented to maximize the profit? Write a program that prompts the user to enter: a. The total number of of units. b. The rent to occupy all the units. c. The increase in rent that results in a vacant unit. d. Amount to maintain a rented unit. The program then outputs the number of units to be rented to maximize the profit.You 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…
- Here is the what im writing: The error starts at the second line. Im using Spyder/anaconda to write python 3.8 def getBonus(salary, bonusPercent):salary = readFloat("Please enter your salary:")print ("Please enter your salary:")bonusPercent = getBonus(salary, bonusPercent)print ("Please enter your bonus percentage:") Here is the problem: Write a Python function def getBonus(salary, bonusPercent) The function you write should be named getBonus, and it should accept an employee’s salary and the bonus they have been granted, and then return the bonus amount. The salary, bonusPercent, and bonusAmount should all be float type. Here are some examples of typical usage: salary = readFloat(“Please enter your salary:”) xmasBonus = getBonus(50000, 0.04) Using the getBonus function that you wrote for part a, write a Python program that will ask for a series of employee IDs, salaries, and bonus percentages. When the user is done inputting employees, the…(C PROGRAMMING ONLY) 6. Deal or No Deal?by CodeChum Admin When I was a kid, I used to watch this TV game show, Deal or No Deal? In the game, there are different brief cases, each labeled with a number. Inside each brief case is an amount in Pesos and the goal is to guess which briefcase contains the smallest amount. In this program, instead of just finding the smallest amount, your task is to ask the user for an integer input and print the values in the array smaller than the inputted integer. Instructions: In the code editor, you are provided with an array with 100 elements.Your task is to ask the user for an integer input and then print all the elements in the array whose value is lesser than the inputted integer.Input 1. Inputted integer Output Enter value: 6132450351503022244I am needing assistance with the following program build in C++. To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be shown as GET LOAN. In some cases, to make a telephone number meaningful, companies might use more than seven letters. For example, 225-5466 can be displayed as CALL HOME, which uses eight letters. Write a program that prompts the user to enter a telephone number expressed in letters and outputs the corresponding telephone number in digits. If the user enters more than seven letters, then process only the first seven letters. Also output the – (hyphen) after the third digit. Allow the user to use both uppercase and lowercase letters as well as spaces between words. Moreover, your program should process as many telephone numbers as the user wants.
- (Data processing) Years that are evenly divisible by 400 or are evenly divisible by 4 but not by 100 are leap years. For example, because 1600 is evenly divisible by 400, 1600 was a leap year. Similarly, because 1988 is evenly divisible by 4 but not by 100, it was also a leap year. Using this information, write a C++ program that accepts the year as user input, determines whether the year is a leap year, and displays a message telling the user whether the entered year is or is not a leap year.Mark the following statements as true or false: a. To use a predefined function in a program, you need to know only the name of the function and how to use it. (1) b. A value-returning function returns only one value. (2, 3) c. Parameters allow you to use different values each time the function is called. (2, 7, 9) d. When a return statement executes in a user-defined function, the function immediately exits. (3, 4) e. A value-returning function returns only integer values. (4) f. A variable name cannot be passed to a value parameter. (3, 6) g. If a C++ function does not use parameters, parentheses around the empty parameter list are still required. (2, 3, 6) h. In C + + , the names of the corresponding formal and actual parameters must be the same. (3, 4, 6) i. A function that changes the value of a reference parameter also changes the value of the actual parameter. (7) j. Whenever the value of a reference parameter changes, the value of the actual parameter changes. (7) k. In C++, function definitions can be nested; that is, the definition of one function can be enclosed in the body of another function. (9) l. Using global variables in a program is a better programming style than using local variables, because extra variables can be avoided. (10) m. In a program, global constants are as dangerous as global variables. (10) n. The memory for a static variable remains allocated between function calls. (11)In this chapter, you learned that although a double and a decimal both hold floating-point numbers, a double can hold a larger value. Write a C# program named DoubleDecimalTest that declares and displays two variables-a double and a decimal. Experiment by assigning the same constant value to each variable so that the assignment to the double is legal but the assignment to the decimal is not. In other words, when you leave the decimal assignment statement in the program, an error message should be generated that indicates the value is outside the range of the type decimal, but when you comment out the decimal assignment and its output statement, the program should compile correctly.