#include <stdio.h>
int main()
{
int n;
printf("Enter the number of times you want to print your name: ");
scanf("%d", &n);
if (n <= 0)
{
printf("Please enter a positive integer greater than 0.\n");
}
else
{
printf("Printing your name %d times:\n", n);
for (int i = 0; i < n; i++)
{
printf("Your Name\n");
}
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: