#include <stdio.h>

int main() {
    float a,b;
    scanf("%f",a);
    scanf("%f",b);
    b=a*a;
    if(b<10)
    {
        printf("the square of this number is %f",b);
    }
    else
    {
        printf("invalid");
    }
    return 0;
}

Embed on website

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