Question: In C + + create a program to estimate the number of Jelly Bellies in a jar. Assume the jar is a cylinder. You may

In C++ create a program to estimate the number of Jelly Bellies in a jar. Assume the jar is a cylinder. You may also assume the candies are cylinders that measure 1.5 cm long by 1 cm diameter (or 0.5 cm radius). VolumeOfCylinder =3.14159* height * radius2 can be represented as pow(radius,2) or radius * radius
Use the pow function since this is about modules/functions.
Use #include in your program. It is the library that has the pow (power) function.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!