learn programming language ||web design||
2 subscribers
123 photos
7 videos
142 links
Introduction to HTML, CSS, JavaScript, PHP and
Web webdesign Tutorials.
Download Telegram
C program to print the alphabet J start pattern

Code(program )

#include <stdio.h>

int main()
{
int a, b;
int n = 7;
// Height of the J pattern

for (a = 0; a < n; a++)
{
for (b = 0; b < n; b++)
{
// Print the vertical part of J

if (b == n / 2 && a != 0 ||
(a == n - 1 && b <= n / 2) ||
(a == n - 2 && b == 0))
printf("*");
else
printf(" ");
}
printf("\n");
}

return 0;
}

Visit the website bloggers link 🖇️🔗

https://webdesigningtheory.blogspot.com/2025/04/c-program-to-print-alphabet-j-star.html