#include <stdio.h>

int main() {
    float a,ar,pr;
    printf("\n enter side of square:\n");
    scanf("%f",&a);
    ar=a*a;
    pr=4*a;
    printf("\nArea & of square: %f & peremeter of squarer: %f",ar,pr);
    
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: