i want to type an algorithm in latex
i have a mac and i am using texshop
i want to display the algorithm as seen in the attachment
do i need to download and install soltware?
please help me type it or explain to me how to load the picture into my paper!
i need a step by step guide here!
thanks in advance