Computers in Engineering WWW Site - Example 9.1

Example 9.1


C Version

/*
     Program to demonstrate
     Printing a message
*/

#include <stdio.h>

int main(void)
{
  clrscr();
  printf("\n\n\n\n\n");
  printf("\t\t\tToday is Wednesday\n");
  printf("\n\n\t\t\t  Hello World !");
  printf("\n\n\n\t******** Touch any key to end the program ********");
  getch();      /* Stop the program until a key is touch */
  return(0);
}
/* End of program C11 */
/*
OUTPUT :
                        Today is Wednesday


                          Hello World !


        ******** Touch any key to end the program ********

*/

Last modified: 21/07/97