Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Workbench Workbench Intro Courses Inside the main function, do the following No

ID: 3742959 • Letter: W

Question

Workbench Workbench Intro Courses Inside the main function, do the following No sel Write a code-segment that finds the surface area of a cylinder. Yo program asks the user to input two values: A height value and a radius value. Your code then finds the surface area of the cylinder and it outputs the result to the screen. The Surface Area is calculated using the following equation 2 x px r x (r+h), where r is the radius and h is the height. and p is the Pl value (use 3.14 for that). Here is a sample run: Enter the height value: 7 Enter the radius value: 2 The Surface Area of a Cylinder is 113.097 Problem 2: Finding the Area of a Triangle 50 pts After you finish working on the first part of this lab. Write some comments about the following problem. Write a code-segment program that reads 2 numbers, the first one represents the base of the triangle, while the second one represents the height of it. Your program then calculates the area of the triangle. The area is calculated using the following equation: (1/2)base height. Input Ca Here is a sample run: Enter the Base value: 16 Enter the Height value: 10 Enter inpu The triangle area is 80

Explanation / Answer

1)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote