Update Main.c.txt

function prototype added