Section 1. Introduction. 1.6 Your first program - Hello world There are two ways to…