18
Well, if you really do make a patent that's revolutionary then you might be able to make some money off of it and even get a job offer. But inventing something that groundbreaking is incredibly difficult.
Plus, to make something like that you'll need to study hard anyway. May as well get better grades in the process.