डिजिटल मार्केटिंग (Digital Marketing)
Digital Marketing Tutorial
Friday, February 16, 2018
Printing Floyd's, Triangle in C with Colorful output
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
clrscr();
int n=0;
for(int a=0;a<=5;a++)
{
for(int b=1;b<=a;b++)
{
textcolor(b+1);
n++;
cprintf("%d ",n);
}
printf("\n");
}
getch();
}
Output
1 comment:
Unknown
February 16, 2018 at 9:32 AM
Nice program Thank for sharing with us...
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Promote Your Brand | Free Classified ad | Free Digital Marketing Course ...
How to print a number series with color output ?
Program:- #include<conio.h> #include<graphics.h> #include<stdio.h> void main() { clrscr(); for(int...
Introduction of Marketing.
संसार बहुत तेजी से तरक्की कर रहा है | हर क्षेत्र मैं बहुत ही तेजी से बदलाब हो रहा है , चाहे बो एजुकेशन सिस्टम हो चाहे बो मार्केटिंग सिस...
Nice program Thank for sharing with us...
ReplyDelete