Note: This program is compiled in Turbo C.
#include <stdio.h>
#include <conio.h>
#include <dos.h>
int a;
void main ()
{
clrscr();
for(a=1; a<29; a++)
{
gotoxy(a,13); //goto coordinates (x, y) and print
delay(100); //stay for a moment
textcolor(a);
cprintf(" allclanguageprograms.blogspot.com");
}
for(a=65; a>27; a--)
{
gotoxy(a,13); //goto coordinates (x, y) and print
delay(50); //stay for a moment
textcolor(a);
cprintf("allclanguageprograms.blogspot.com");
}
getch();
}
#include <stdio.h>
#include <conio.h>
#include <dos.h>
int a;
void main ()
{
clrscr();
for(a=1; a<29; a++)
{
gotoxy(a,13); //goto coordinates (x, y) and print
delay(100); //stay for a moment
textcolor(a);
cprintf(" allclanguageprograms.blogspot.com");
}
for(a=65; a>27; a--)
{
gotoxy(a,13); //goto coordinates (x, y) and print
delay(50); //stay for a moment
textcolor(a);
cprintf("allclanguageprograms.blogspot.com");
}
getch();
}