By the C, by the C, by the Beatutiful C

link


Getting Started Programming in C

#include <math.h>
#include <stdio.h>

int main(void) {
  // statements end in a semicolon(;)
  printf("Hello World\n");
  printf("sqrt(4) is %f\n", sqrt(4));
}
Hello World
sqrt(4) is 2.000000