I suggest you to attend the undergraduate program of a good university.
To get good salary after graduation,
the diploma itself is not that important,
the determinal factor is your ability and experience.
A master's degree is not that necessary, especially in the field of IT.