Write a PHP program that prints each of the volume, surface area and perimeter of a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a PHP program that prints each of the volume, surface area and perimeter of a cuboid whose length, width and height are inputs entered by the user. Given that: Volume LxWxH Surface Area = 2 (LxW+LxH+WxH) Perimeter=4 (L+W+H) B Cuboid ← → CO Height: 6 Enter the dimensions of the cuboid Length: 4 Width: 5 Display Info cm </form> </body> </html> cm cm x + localhost:8080/input <title>Cuboid</title> CO localhost:8080/Input/cuboid.pl X Volume COD localhost:8080 Surface Area Perimeter Given: HTML Input Form (copy and paste it into your editor) <html> <head> 120 cm³ 148 cm² 60 cm </head> <body> <form action="question2.php" method="post"> <h3>Enter the dimensions of the cuboid</h3> <p><b>Length: <input type="text" name="length" size="5"> cm</b></p> <p><b>Width: <input type="text" name="width" size="5"> cm</b></p> <p><b>Height: <input type="text" name="height" size="5"> cm</b></p> <p><input type="submit" value="Display Info"></p> Write a PHP program that prints each of the volume, surface area and perimeter of a cuboid whose length, width and height are inputs entered by the user. Given that: Volume LxWxH Surface Area = 2 (LxW+LxH+WxH) Perimeter=4 (L+W+H) B Cuboid ← → CO Height: 6 Enter the dimensions of the cuboid Length: 4 Width: 5 Display Info cm </form> </body> </html> cm cm x + localhost:8080/input <title>Cuboid</title> CO localhost:8080/Input/cuboid.pl X Volume COD localhost:8080 Surface Area Perimeter Given: HTML Input Form (copy and paste it into your editor) <html> <head> 120 cm³ 148 cm² 60 cm </head> <body> <form action="question2.php" method="post"> <h3>Enter the dimensions of the cuboid</h3> <p><b>Length: <input type="text" name="length" size="5"> cm</b></p> <p><b>Width: <input type="text" name="width" size="5"> cm</b></p> <p><b>Height: <input type="text" name="height" size="5"> cm</b></p> <p><input type="submit" value="Display Info"></p>
Expert Answer:
Answer rating: 100% (QA)
The PHP program that takes user inputs for the length width and height of a cuboid in centimeters an... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
On December 31, 2017, RCA Companys Allowance for Doubtful Accounts had an unadjusted debit balance of $7,800. The accountant for RCA has prepared a schedule of the December 31, 2017, accounts...
-
Write a PHP program that creates Web forms for entering the information about a new BORROWER entity. Repeat for a new BOOK entity.
-
SQL "Write a PHP program that creates Web forms for entering the information about the employees of a particular pay type (e.g. hourly/ salaried)." EMPLOYEE U SECRETARY TECHNICIAN ENGINEER MANAGER...
-
In Exercises determine which of the integrals can be found using the basic integration formulas you have studied so far in the text. (a) (b) (c) S x - 1 dx
-
The following data are price/quantity/cost combinations for Titan Industrys mainframe computer division: a. What is the marginal revenue if output rises from 2 to 3 units? What is the marginal cost...
-
a. What is a networked application? 1a.) A networked application is an application that requires a network to operate. a. True b. False b. What is an application architecture? 1b.) The way in which...
-
Holze Music Co. issued 5\%, 10 -year bonds payable at 75 on December 31, 2006. At December 31, 2009, Holze reported the bonds payable as follows: Holze uses the straight-line amortization method....
-
We use the t distribution for the statistical inference of the population mean when the underlying population standard deviation is not known. Under the assumption that the population is normally...
-
How can you simultaneously hedgetransactionexposure andtranslationexposure of the same firm? What are the argumentsagainsta MNC hedging transaction exposure? Why should companiesnot hedge? What are...
-
Jones Contractors Inc. agreed to construct a building for 5300,000. Construction commenced in 2011 and was completed in 2013. Data relating to the contract are summarized below: Required: a. For each...
-
What is an optimal Huffman code for the following set of frequencies of characters? Character abd e Frequency 951 3 7 3 fhik n 1 1 1 4 0 r S t 1 5121 u V
-
Businesses, non-profit organizations, governments all spend BILLIONS of dollars in advertising. So what do you think - does advertising work and if so - WHY? HOW? - Please give some examples of ads...
-
Module 4 Activity C: Two-Point Discussion Option A 50 50 You chose Option A. For up to 2 points, you need to post your initial comment, and then reply to at least one classmate's comment within the...
-
Cairney, Incorporated manufactures a specialized part used in internal combustion engines. The annual demand for the part is 229,000 units. The facility has a practical capacity of 244,000 units...
-
The following table describes the expected cash flows of two competing investment opportunities. End of Investment A Investment B 0 -$600,000 -$600,000 1 $170,000 $60,000 2 $170,000 $90,000 3...
-
1. Research and update the Apple Computers case. How would you evaluate: (a) The contribution of Steve Jobs? (b) Jobs as a strategic leader? (c) Whether Apple is now less crisis prone than it was and...
-
17. Kiki strongly believes that college students need credit counseling, so she begins & pol- for-profit organization devated to this need. Kiki is exhibiting A) strategic planning B) the organizing...
-
On July 1, 2011, Flashlight Corporation sold equipment it had recently purchased to an unaffiliated company for $480,000. The equipment had a book value on Flashlights books of $390,000 and a...
-
A point on the terminal side of an angle in standard position is given. Find the exact value of each of the six trigonometric functions of . (0.3, 0.4)
-
In problem, plot each point. Then plot the point that is symmetric to it with respect to (a) The x-axis; (b) The y-axis; (c) The origin. (4, -2)
-
True or False tan 75 = tan 30 + tan 45
-
Winnipeg Enterprises Inc. reported the following summarized balance sheet at December 31, 2019: During 2020, Winnipeg Enterprise completed these transactions that affected shareholders' equity:...
-
Cones Inc. of Baie-Comeau completed the following transactions during 2020, the company's tenth year of operations: {Requirement} Analyze each transaction in terms of its effect (in dollars) on the...
-
The following accounts and related balances of Dove Designers, Inc., as of December 31, 2020 , are arranged in no particular order. {Requirements} 1. Prepare Dove's classified balance sheet in the...
Study smarter with the SolutionInn App