Skip to content

vishalkumarpandit2k25-png/star-Hut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Star Pattern Printing in C

This project contains a C program that prints a custom star (*) pattern using nested loops and conditional statements.

The program demonstrates how loop control and logical conditions can be combined to create structured patterns in the terminal.


Description

  • Uses for loops to control rows and columns
  • Uses conditional statements to decide where to print * or spaces
  • Prints a symmetric and structured star pattern
  • Useful for understanding pattern logic in C programming

How to Compile and Run

Linux / macOS

gcc pattern.c -o pattern
./pattern

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages