Write a Program to Print the Following Pattern
Program :
- #include<stdio.h>
- #include<conio.h>
- void main()
- {
- char ch='*'; // Assign ' * ' to the Character Variable
- int i , j ; // i for Counting lines , j for counting stars in Line
- for( i = 0 ; i < 4 ; i++ )
- {
- printf("\n");
- for ( j = 0; j < i ; j ++ )
- printf("%c\t",ch);
- }
- getch();
- }

0 comments:
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email