Monday, 26 September 2011

26-09-2011 2nd Print Hello Word (each letter new line)

/*Prints hello world each character in new line */
#include<stdio.h>
#include<conio.h>
int main()     
     
{
      printf("H\n E\n  L\n   L\n    L\n     O\n      W\n       O\n        R\n         L\n          D ");
      getche();
      return 0;
}

No comments:

Post a Comment