Untitled

Anonymous
plain_text
07/21/2024 5:19 PM
296 B
29
Indexable
#include <iostream>

using namespace std;

int main()
{
    int l;
    cin>>l;
    int area=l*l;
    int perimeter=l*4;
    cout<<"Area = "<<area<<endl;
    cout<<"Perimeter = "<<perimeter;

    return 0;
}
Editor is loading...
Leave a Comment