PLAY WITH CODING

Home Basic Program If & Else Loops Conversion Pattern logo

Basic C Program

Program to Print HELLO WORLD

Input - Output

Output
HELLO WORLD

Algorithm

Step 1: START

Step 2: Print hello World

Step 3: END

CODE


/* Print HELLO WORLD*/

#include  <stdio.h>
int main()
{
      printf(" HELLO WORLD ");
      return 0;
}


/* Print HELLO WORLD */

#include  <iostream>
using namespace std;
int main()
{
      cout<<" HELLO WORLD ";
      return 0;
}

OutPut

HELLO WORLD