- 3

Help me to finish this because am confused in it

#include <iostream> using namespace std; int main() { int choice=0; int length=0, breadth=0; cout << "welcome to Abdulrahman's calculator\n" cout<< "enter a shape from the option below\n" cout<<"1. Rectangle" cout<<"2. square"; cin>>choice; if (choice==1) cout<<"you have slected Rectangle\n"; cout<<"enter the value for length\n"; cin>>length; cout<<"enter the value for bradth\n"; cin>>breadth; int area = length * breadth; cout<<" area of the rectangle is"<<area }

4th Jul 2021, 10:12 AM
Abdul Rahman Suleman
Abdul Rahman Suleman  - avatar
1 Answer
- 1
Any answer?
4th Jul 2021, 10:13 AM
Abdul Rahman Suleman
Abdul Rahman Suleman  - avatar