Write a program in any high level programming language

Write a program in any high level programming language to perform the following: 1. Read a text file containing a sequence of branches, for each branch, predict the branch to be taken based on the three branch prediction techniques: a. Static – Predict Taken b. Static – Predict Not Taken c. Dynamic Branch Prediction1