Ads Top

TECHASHUS - C PROGRAM FOR DROPING OF WORD FROM SENTENCE

PROGRAM :

#include<stdio.h>
#include<string.h>
#include<conio.h>
#include<grapics.h>
void main()
{
    int gd= DETCT ,gm,i;
    char m[20];
    initgraph (&gd,&gm,"c:\\tc\\bgi");
    printf("Enter the string");
    for(j=0;j<=4;j++)
    {
     if(m[j]!='\0')
    {
     scanf("%s",7m);
     for(i=0;i<=300;i++)
     {
     cleardevice();
     outtextxy(100,100+i,m);
     if(i==0)
     getch();
     }
     }
     }
     getch();
}


OUTPUT :

Enter the String


Welcome to multimedia  




Multimedia

To

Welcome

No comments:

Powered by Blogger.