#include <iostream>
using namespace std;
int main(void)
{
int length,width,rectangle;
cout<<"enter the value of length : ";
cin>>length;
cout<<"enter the value of width : ";
cin>>width;
rectangle=length*width;
cout<<"area of rectangle is : "<<rectangle;
return 0;
[Running] cd "c:\Users\Shana Field\OneDrive\Desktop\Myprogram" && g++ perimeter.cpp -o perimeter && "c:\Users\Shana Field\OneDrive\Desktop\Myprogram"perimeter
enter the value of length :
[Done] exited with code=1 in 457.614 seconds
hi there, can you give some background information on your question?
For eg. is this an fCC challenge?
Can you provide a link to whatever it is you are working on?
Can you explain what you mean by “terminal”?