Futter Square Button full

#include <stdio.h>

// Function to print a filled square button
void printFilledSquareButton(int size) {
    for (int i = 0; i < size; i++) {
        for (int j = 0; j < size; j++) {
            printf("* ");
        }
        printf("\n");
    }
}

// Main function
int main() {
    // Input size of the square button
    int size;
    printf("Enter the size of the square button: ");
    scanf("%d", &size);

    // Check if size is non-negative
    if (size <= 0) {
        printf("Invalid size. Please enter a positive integer.\n");
        return 1;
    }

    // Call the function to print the filled square button
    printFilledSquareButton(size);

    return 0;
}