How to turn a written algorithm into IGCSE Computer…