2. (60 points) Mulch Delivery Truck Capacity Calculator with Accumulations - see the included .exe Note...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. (60 points) Mulch Delivery Truck Capacity Calculator with Accumulations - see the included .exe Note that you do not need to validate the input from the user. Be sure to refer to the general programming guidelines listed above. Name your project: CalcWith Accums - Your Name a) Use Visual Studio to create a C# Windows Forms App (.NET Framework) C# Desktop program / application (see .exe for an example) that allows entry of height, width and depth (in feet) for one order of mulch. Calculate the cubic feet and cubic yards of mulch for one order given that 1 cubic yard = 27 cubic feet (note: make this conversion factor of 27 a 'constant'). Assume a price of $20.00 per cubic yard of mulch (make this a 'constant' in your C# code) and calculate the cost of an order using the price multiplied by cubic yards ordered. Display the price and all other calculated fields for one order on your Form. b) Accumulate all of the order quantity/cost calculations by adding each Order's calculations to a running total of all Orders since the window was opened, and display accumulation calculations on your Form (hint: accumulations require 'field' variables that have to be declared below the 'class' and above/outside of the method/event handlers). Also keep a running count of the number of Orders so far, that increments by 1 each time the Calculate button is clicked. c) Calculate when the accumulated cubic yards of all orders, have filled a truck that can hold 4 cubic yards of mulch, displaying the Truck Base Capacity (assume a truck can hold 4 cubic yards of mulch and make this a 'constant' in your C# code), Cubic Yards Ordered so far; then using those two fields, calculate the Truck's Remaining Capacity in cubic yards. d) Add a Clear button to clear all fields on the form and to reset ALL the accumulators on the Form and ALL the accumulators in memory variables e) Make the background color of the label that displays the Truck's Remaining Capacity Light Green if the Truck's Remaining Capacity is greater than zero, or set the background color to Yellow if it is less than or equal to zero; Add a Label to the top or bottom of the form that displays "[Your Name] Landscaping Company" f) Validation would normally be required to verify that the end-user actually entered numeric data into any numeric-based text box controls; however, I am NOT requiring you to put in numeric validation logic for this mulch calculator project Demo Mulch Calculator MULCH CALCULATOR Enter Length (ft) Enter Width (ft) Enter Height (ft) Current Order Cubic Feet Cubic Yards @s Price Calculate 000 Total of All Orders Cubic Feet (All Orders) Cubic Yards (All Orders) Cost (All Orders) Number of Orders Clear | X is 2. (60 points) Mulch Delivery Truck Capacity Calculator with Accumulations - see the included .exe Note that you do not need to validate the input from the user. Be sure to refer to the general programming guidelines listed above. Name your project: CalcWith Accums - Your Name a) Use Visual Studio to create a C# Windows Forms App (.NET Framework) C# Desktop program / application (see .exe for an example) that allows entry of height, width and depth (in feet) for one order of mulch. Calculate the cubic feet and cubic yards of mulch for one order given that 1 cubic yard = 27 cubic feet (note: make this conversion factor of 27 a 'constant'). Assume a price of $20.00 per cubic yard of mulch (make this a 'constant' in your C# code) and calculate the cost of an order using the price multiplied by cubic yards ordered. Display the price and all other calculated fields for one order on your Form. b) Accumulate all of the order quantity/cost calculations by adding each Order's calculations to a running total of all Orders since the window was opened, and display accumulation calculations on your Form (hint: accumulations require 'field' variables that have to be declared below the 'class' and above/outside of the method/event handlers). Also keep a running count of the number of Orders so far, that increments by 1 each time the Calculate button is clicked. c) Calculate when the accumulated cubic yards of all orders, have filled a truck that can hold 4 cubic yards of mulch, displaying the Truck Base Capacity (assume a truck can hold 4 cubic yards of mulch and make this a 'constant' in your C# code), Cubic Yards Ordered so far; then using those two fields, calculate the Truck's Remaining Capacity in cubic yards. d) Add a Clear button to clear all fields on the form and to reset ALL the accumulators on the Form and ALL the accumulators in memory variables e) Make the background color of the label that displays the Truck's Remaining Capacity Light Green if the Truck's Remaining Capacity is greater than zero, or set the background color to Yellow if it is less than or equal to zero; Add a Label to the top or bottom of the form that displays "[Your Name] Landscaping Company" f) Validation would normally be required to verify that the end-user actually entered numeric data into any numeric-based text box controls; however, I am NOT requiring you to put in numeric validation logic for this mulch calculator project Demo Mulch Calculator MULCH CALCULATOR Enter Length (ft) Enter Width (ft) Enter Height (ft) Current Order Cubic Feet Cubic Yards @s Price Calculate 000 Total of All Orders Cubic Feet (All Orders) Cubic Yards (All Orders) Cost (All Orders) Number of Orders Clear | X is
Expert Answer:
Answer rating: 100% (QA)
Rectangle Measure Length and Width in feet Length x Width square feet Determine desired depth of mat... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Southern Allen Interiors Incorporated is a leading manufacturer and retailer of home furnishings in the United States and abroad. The following is adapted from Southern Allen's June 30, 2019, trial...
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
Barbara buys 100 shares of DEM at $35 a share and 200 shares of GOP at $40 a share. She buys on margin and the broker charges interest of 10 percent on the loan. a. If the margin requirement is 55...
-
The figure shows the graphs of three functions. One is the position function of a car, one is the velocity of the car, and one is its acceleration. Identify each curve, and explain your choices. b
-
Discuss the evolutionary adaptations of respiratory systems across diverse taxa, highlighting the anatomical, physiological, and behavioral strategies employed by organisms to maximize oxygen uptake...
-
Consider a payoff \(C\) that will occur in 2 years, taking one of the three possible values \(C_{0}, C_{1}, C_{2}\). The short rate lattice for these 2 years is shown in Figure 16.16, with \(d_{i...
-
Martinez Manufacturing Inc. showed the following costs for last month: Direct materials ....... $7,000 Direct labor ......... 3,000 Manufacturing overhead ... 2,000 Selling expense ........ 8,000...
-
Required: 1. Suppose that on January 1, 2020, Boeing sells one of its 777 series planes to Singapore Airlines on account-its first and only transaction on the first day of the fiscal year. The sales...
-
Mr. M has been employed as an engineer by A Ltd., a company incorporated in Hong Kong. During the year ended 31 March 2019, Mr. M had the following income and expenditure. A monthly salary of...
-
Conduct your own research to answer the following questions: regarding a hair care range 1. Who are the target markets for this product or service? Detail at least two market segments. Include...
-
Using the least-squares UH, fit a gamma UH to the least squares UH. Area = 630 ha. Time increment = 30 minutes. Compare the least-squares and gamma synthetic UHs.
-
Suppose that, in order to protect Ronaldo from his adoring fans, soccer teams that host Real Madrid must hire extra security, and security costs go up as the number of fans at the game goes up. When...
-
Develop ARIMA (1,1,1) (0,1,2)4. Consider that this model is used to predict the rainfall during a year, what would be the scale of the model outputs (daily, monthly, or seasonally)? At most, how many...
-
N.B. Vargaftik 3 (1975) lists the experimental values in the following table for the enthalpy departure of isobutane at 175C. Compute theoretical values and their percent deviations from experiment...
-
Suppose the can segment their fans into young fans and senior citizens. Young fans have the demand curve 120 10G (MR = 120 20G). Senior citizens have the demand curve p = 60 10G (MR = 60 20G)....
-
The Oberoi Group - Translating Dharma into Best Practices in HR According to HVS India reports, India ranks 41 in world tourism arrivals and has the potential to be in the top 20. About five million...
-
Below is a sample of the data in the file NFLAttendance which contains the 32 teams in the National Football League, their conference affiliation, their division, and their average home attendance....
-
On September 14, 2012, Jay purchased a passenger automobile that is used 75 percent in his accounting business. The automobile has a basis for depreciation purposes of $35,000, and Jay uses the...
-
How much of each of the following prizes or awards is taxable? a. Cheline received a $50,000 gift bag at the Oscars in 2012. b. Jon received a gold watch worth $350 for 25 years of service to his...
-
Clifford Johnson has a limited partnership investment and a rental condominium. Clifford actively manages the rental condominium. During 2012, his share of the loss from the limited partnership was...
-
In the 1970s, Special Electric Company brokered the sale of crocidolite asbestos, which is the most toxic form of asbestos, to Johns- Manville Corporation. Special Electric never held possession of...
-
On January 2, 2018, The Register, a science and technology news site based in Britain, published an article revealing the existence of two major bugs leaving virtually all computers and smartphones...
-
Plaintiffs W. O. and J. C. Lucy had wanted to purchase Ferguson Farm from the Zehmers for at least eight years. One night, Lucy stopped by the establishment the Zehmers operated and said that he bet...
Study smarter with the SolutionInn App