Codes:
#include
#include
Void Main ()
{ <-- Start of the Program
Clrscr(); <-- This function clears everything printed out.
Printf("Hello World"); <-- Printf functions that what will you print on the screen.
Remmember that ; functions stops the program.
getch();
} <-- End of the Program
After writing this program. Checking the program if theres and error is pressing Ctrl + F9.
#include
#include
Void Main ()
{
Clrscr();
Printf("Hello World");
getch();
}
Output:
Hello World
No comments:
Post a Comment