Voltage Divider for measuring more than 5V

Everything you asked for is in the link i posted

Wrong.

You didn't say what the code does, or what it is expected to do.

Try again.