Final answer:
To become a millionaire by studying computer science, one could become an entrepreneur like a computer science major who founded a highly successful internet company, or strategically improve one's job prospects and earning potential by pursuing advanced degrees, similar to Xaio who completed a master's degree in computer engineering.
Step-by-step explanation:
Becoming a millionaire by studying computer science in +2 (high school) involves a combination of education, strategic career choices, and potentially entrepreneurial efforts. While studying computer science, gaining a deep understanding of technology and its applications can open numerous paths to financial success. For example, one might follow the route of a computer science major who goes on to found a successful internet company, leading to substantial wealth. However, it's critical to recognize this is not a guaranteed outcome, and success often requires considerable effort, persistence, and sometimes a bit of luck.
To increase wealth prospects, one could focus on innovation and creating value in tech niches, such as developing a new app or software solution. Another path could involve furthering one's education, following the story of 'Xaio', who pursued a master's degree in computer engineering to increase his job opportunities and potential earnings.
Finally, for those with an interest in both computer science and astronomy, forming a foundation like the aforementioned internet company founder did could align personal interests with a philanthropic endeavor, which can also lead to significant financial gains as well as positively impacting society.