I agree that reformatting as suggested by Zanna and dessert should be preferred. However, OP (or the community) may fail to do that, so the current situation would persist.
After a reasonable amount of time, I would proceed to vote to close the question as “unclear what you’re asking” since OP did not present any meaningful question.
Moreover, there is a request in the “question”:
If any other alternate was found kindly post it below.
This breakswould break the site principles.:
- An answer posted by OP (even if accepted) would flow among other answers based on votes while an answer in the question is kept on top.
- OP loses reputation given for their solution – gets just 5 for a question upvote compared to 10 for an answer upvote.
- As dessert mentioned (before this edit), regular SE users usually look for the solution in the answers section. The solution inside a question looks then like an unsolved problem.
Closing the question would avoid at least some of these problems.