LCS with 3 strings

https://ide.codingblocks.com/s/317349 code

I have written the code using the logic provided in hints.
The code is not giving any output and also how to visualize a matrix with 3 dimensions for dp pr is it just intuitive to extend the 2-d matrix formula here?

PLz reply i had asked this before also but i didnt get a good response

I have edited your code… try to submit now…