BASIC/Introduction

BASIC, which is an acronym for Beginner's All-purpose Symbolic Instruction Code, high level language that stresses ease of use. It was developed in 1964 by John George Kemeny and Thomas Eugene Kurtz with a goal to create a programming language that anyone could use. Although BASIC is no longer widely used as it once was, it is still a popular programming language used on personal computers and microcontrollers.

FreeBASIC is an open-source, free BASIC programming language compiler that is compatible with Microsoft QuickBASIC. For FreeBASIC IDE, student can download FBIDE.

BASIC source code has .bas extension, e.g main.bas

Hello, World !
Let's start with "Hello, World !", the very first BASIC program.

hello.bas

Variables
Example 1: Convert a Fahrenheit temperature to Celsius Example 2: Addition and subtraction of (random) integral numbers