Skip to content

Instantly share code, notes, and snippets.

#include<stdio.h>
int main()
{
int i,j,k;
int h=7,t=3,l=5;
for(i=1;i<=(t/2)+1;i++)
{
for(j=1;j<=i;j++)
{
printf("*");
@akshay-kumar-goel
akshay-kumar-goel / Trishul
Created November 13, 2016 17:54
Trishul pattern in c
#include<stdio.h>
int main()
{
int i,j,k;
int h=7,t=3,l=5;
for(i=1;i<=(t/2)+1;i++)
{
for(j=1;j<=i;j++)
{
printf("*");