Question: Make c++programming in which the user choose which polygon and compute for the area. Please make use of relational operator logical operator and arithmetic operator

Make c++programming in which the user choose which polygon and compute for the area. Please make use of relational operator logical operator and arithmetic operator At Least 3PER CATEGORY! The below pic is my draft unfortunately was cut. So here is my code. #include using namespace std;int main(){ int A1,A2,A3,poly,s1,l1,w1,num; float radius, area; cout<<"Please choose which polygon 1.Square 2.Rectangle 3.Circle : "; cin>>num; if("num >= 1") { cout<< "Enter the side of the square: "; cin>>s1; A1=s1*s1; cout<< "Area of Square is: "<>l1; cout<< "Enter the width of the rectangle: "; cin>>w1; A2=l1*w1; cout<<"Area of Rectangle is: "<image

include sing namespace std; it main () int Al, A2, A3, poly, s1, ll, wl, num; float radius, area; cout<<"Please choose which polygon 1. Square 2 . Rectangle 3. Circle : cin> >num; if ( "num >= 1") cout<< "Enter the side of the square: "; cin> >sl; Al=sl*sl; cout<< "Area of Square is: "<

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!