include include using namespace std int main int shape cou
# include # include using namespace std; int main( int shape; cout> shape; switch shape) case 1 cout
Solution
First it displaying message Shape with options 1.Circle 2.Rectangle 3.Triangle (all in next line)
Then user enters the choice (this is input to the program)
And on the basis of choice it will calculate the area of it like if you have given 1 as choice that is circle so it will calculate area of Circle (Output to program) and it needs radius for it (input to program) similarly for rectangle it will need length and breath as input and for triangle length of three sides.
And if user havenot entered any value apart from 1,2 0r 3 then it displays “Invalid choice)
In short the program calculates area of different shapes based on user inputs and consecutively require further inputs as described above.
