A structured program includes only combinations of the three…