I need to fix this algorithm please. Do you have any suggestion to make this algorithm working fine.thanks

Printable View