Question: Lab 5 Areas2.cpp Marisol castellanos Villa tinclude // INCIUDE ANY NEEDED FILES HERE include using namespace std; int main() I DEFINE THE NAMED CONSTANT PI

 Lab 5 Areas2.cpp Marisol castellanos Villa tinclude // INCIUDE ANY NEEDEDFILES HERE include using namespace std; int main() I DEFINE THE NAMED

Lab 5 Areas2.cpp Marisol castellanos Villa tinclude // INCIUDE ANY NEEDED FILES HERE include using namespace std; int main() I DEFINE THE NAMED CONSTANT PI HERE AND SET ITS VALUE TO 3.14159 const double PI-3.14159 float c radius, c area: float s side, sarea float t_height, t width, t_area; / DECLARE ALL NEEDED VARIABLES HERE. GIVE EACH ONE A DESCRIPTIVE int choice; char ch / NAME AND AN APPROPRIATE DATA TYPE cout> choice; if (choice--1) / WRITE STATEMENTS HERE TO DISPLAY THE 4 MENU CHOICES // WRITE A STATEMENT HERE TO INPUT THE USER 'S MENU CHOICE // USE AN IF/ELSE IF STATEMENT TO OBTAIN ANY NEEDED INPUT INFORMATION cout Enter the Length of the side of the square:"; cin>> s side; s area=s siders side cout>c radius; c area PIc radiusc radius: cout> t_height; cout> t_width; t-area-.5*t. height*t, width; cout>ch cout

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 Databases Questions!