Home
About
Disclaimer
Privacy Policy
Contact Us
HOME
BASIC C
ADVANCE C
DATA STRUCTURES
GUEST POST
Home
C Programming
Number Pattern Program in C - 41
Number Pattern Program in C - 41
August 23, 2020
/*
Write a program in C for Number Pattern Program
*/
#include <stdio.h>
int main()
{
int i, j;
for(i=5;i>=1;i--)
{
for(j=1;j<=i;j++)
{
printf("%d",i%2);
}
printf("\n");
}
return 0;
}
Post a Comment
0 Comments
Followers
Basic C
Star Patterns
Number Patterns
Alphabet Pattern
Matrix Programs
File Handling
Advance C
Math Functions
Graphics in C
DOS Functions
Special Programs
Stdlib Functions
Conio Functions
Trace the output
Interview Q&A
Projects in C
Data Structures
Array
Linked List
Stack
Queue
Search Algorithm
Popular Posts
Polynomial Addition and Multiplication using Linked List
February 21, 2012
Concatenate Two Circular Linked Lists
February 21, 2012
Concatenate Two Single Linked Lists
February 21, 2012
Subscribe US
Contact Form
Name
Email
*
Message
*
Total Pageviews
0 Comments