Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in C++ please. Write a C++ program that: (a) neulates the volume and area of a cylinder tusing following formulas Volume = ar 2 Area

image text in transcribedin C++ please.
Write a C++ program that: (a) neulates the volume and area of a cylinder tusing following formulas Volume = ar 2 Area = 2xrh+2x where r and h are floating point numbers represents the radius and height of a cylinder respectively. (b) create variables area and volume and store the results in them. (e) output the results with two digit after the decimal point using the format shown the sample output. (d) se pow function for calculate power. Sample Output Input radius and height of the cylinder in inches: 5.2 8.1 Volume: 688.08 cubic inches Surface area: 434.55 square inches

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

3-18. An advertisement for peanut butter?

Answered: 1 week ago