ارجوا التكرم بحل هذا السؤال لي ... لانو مطلوب مني واجدب ب 20 علامة و انا الصراحة حاولت بس ما قدرت و بتعملوا معي معرووووووووووووووف كبيييييييييييير
السؤال
Problem 3:
Write a complete C++ program that takes one input (double or integer) from the user. Your program
deal with this input to compute the area and the circumference of:
• Circle: the number entered by the user will be used as a circle radius needed to compute the area
and the circumference of this circle.
• Square: the number entered by the user will be used as a square edge length needed to compute
the area and the circumference of this square.
• Triangle: the number entered by the user will be used as a triangle edge length (triangle with
equal edges) needed to compute the area and the circumference of this triangle.
Your program ends when the user enters -1.
...............
Sample output:
Enter an integer or double value:
10
As a circle: area = 314.8, circumference = 62.8
As a square: area = 100, circumference = 40
As a triangle: area = 43.3, circumference = 30
Enter an integer or double value:
-1
Bye, your program ended.
Press any key to continue
والرجاء كتابة ال Version l للبرنامج و شكراااااا ) يعني 2010 ولا غير )
