Hi, welcome to my website Programming.OM. My name is Om prakash kartik. This blog helps you to learn programming languages concepts and technique.
#include<iostream.h> #include<conio.h> void main() { int l,b; clrscr(); cout<<"Enter lenght & breadth:-"; cin>>l>>b; float area=l*b; float pm=2*(l+b); cout<<"Area of rectangle="<<area; cout<<"\nPerimeter of rectangle="<<pm; getch(); }
0 Comments