https://github.com/prithvikings/c-pattern
https://github.com/prithvikings/c-pattern
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/prithvikings/c-pattern
- Owner: prithvikings
- Created: 2024-04-04T16:26:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T17:50:41.000Z (over 2 years ago)
- Last Synced: 2025-02-06T02:14:07.294Z (over 1 year ago)
- Language: C
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pattern Printing in C
This repository contains C programs for printing various patterns using loops and basic C programming constructs.
## Patterns Included
1. **Square Pattern**: Prints a square pattern using asterisks (\*).
2. **Triangle Pattern**: Prints a triangle pattern using asterisks (\*).
3. **Pyramid Pattern**: Prints a pyramid pattern using asterisks (\*).
4. **Diamond Pattern**: Prints a diamond pattern using asterisks (\*).
5. **Triangle Pattern**: Prints a triangle pattern using asterisks (Numbers).
## How to Use
1. **Clone the Repository**: Clone this repository to your local machine using:
```
git clone https://github.com/your-username/pattern-printing-c.git
```
2. **Navigate to the Directory**: Enter the repository directory:
```
cd pattern-c
```
3. **View the Output**: The program will display the pattern in the console.
## Contributing
Contributions are welcome! If you have any ideas for new patterns or improvements to existing ones, feel free to open an issue or submit a pull request.