In this screencast, the algorithm to generate a data to plot sin(x) curve has been demonstrated and programmed in Fortran. Near the end of the demonstration an explicit print statement has been introduced.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.