- 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 }
1 Odpowiedź
- 1
Any answer?