Before going straight to programming we should analyze some different types of numbers. The first one which I am introducing…