chemical equation by pooq

string s;input s;if"Mg O2"==s{print"2Mg+O2->2MgO";}else{if"H2 O2"==s{print"2H2+O2->2H2O";}else{print"2C2H2+5O2->4CO2+2H2O";}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page