algorithm is step by step instruction for the program so that we can easily solve any type of program.... by using algorithm we can solve difficult program also...