Here is the way to do code(C, C++, HTML, PHP, Java, Javascript etc) formatting in posts. Tap the blue key three times to open a code block and press enter to get to the next line. Copy-paste / write the code you want…