#include <stdio.h>

int main() 
{
    int num,product;
    printf("Enter a integer\n");
    scanf("%d",&num);
    if(num<10)
    {
        product=num*num;
        printf("product of two numbers=%d",product);
    }
    else
    {
        printf("squaring not possible");
    }
}

Embed on website

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