Can anybody tell me whats d problem..????
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int l,b,r,a;
char ch,t,x;
cout<<"******************----MAIN MENU----****************** \n";
cout<<"\n 1.Area of rectangle";
cout<<"\n 2.Area of square";
cout<<"\n 3.Area of circle";
{
cout<<"\n Enter your choice";
cin>>ch;
}
rec:cout<<"\n Enter the Length and breadth";
cin>>l>>b;
a=l*b;
cout<<"\n Area of rectangle of lenght "<< l <<" and breadth "<< b <<" is "<< a;
goto x;
sq:cout<<"\n Enter the value of sde of a square : ";
cin>>l;
a=l*l;
cout<<"Area of square of side "<< l <<" is "<<a;
goto x;
cir:cout<<"\n Enter the radius";
cin>>r;
a=(3.14*r*r);
cout<<" Area of circle of radius "<< r <<" is "<< a;
goto x;
x:cout<<"\n\n ************ Thankyou..*************";
getch();
}