Program to print string Vertically from given string

Program to print string Vertically from given string.


#include
#include
void main(){
int i;
char string[5]="HELLO";
clrscr();
for(i=0;i<5;i++)
{
printf("\n %c",string[i]);
}
getch();
}



No comments:

Post a Comment