Depending on your exact location it will vary a lot and depending on your experience level and stage of your career it will change too.
That said, if I were speaking with a young person just entering the workforce there are a few good options. They depend on what you are interested in, happy to do, and how much money you feel is able to drive you to do stuff you don't like.
First off, some things are flaky. Being in tech right now is risky because all of the tech bros are trying to automate jobs. Even before the current AI trend firing whole teams was a common practice for financial reasons and made the industry unattractive.
Other things are rock solid. We have been using indoor plumbing for centuries, an alternative seems unlikely, so chances are plumbing will remain a reasonable job for a full lifetime. The same goes for electricians, some forms of construction, and so on. Trades is what we call them in Australia and they are as close to guaranteed as anything. They also pay well here and lead to owning your own business, managing your own clients, and making good long term decisions to build your own wealth.
The next set of needs are to do with demographs. Right now in the western world there is a population of people reaching the age where they need care. That means support workers, nursing, aged care, physiotherapy, and other allied health services. These are growth industries and will be so for the next 15 years or so. This is a good time to get in as the people in power are impacted by or soon to be impacted by the quality of those services, so funding is not as hard to get approved.
After that, different countries have really different needs. In Australia we have a big problem with truck drivers right now. Lots of truck drivers quit or died during the pandemic and very few young people have taken on that role because of all of the hype around self driving cars. That technology is a fairly long way off and honestly I don't see it happening in the next 10 years to any significant degree. 10 years of good pay would make studying something else much easier and so it may be a good option for a period of time.
If you have a look at immigration rules for your country you will probably find that certain professions are given priority. Those are in demand roles with not enough workers, so you may have a good opportunity there depending on the case.
Other than all of that, don't do a job you can't morally stand to do. Don't do a job you already hate. Don't stay at a job because it seems safer or easier. Be willing to move to another job within 2 years. Longer than 2 years and you are probably missing out on income growth.
So through lines 2-5 you are making the line the correct size to fit the characters of the name. Instead of directly printing this save the full line into the variable by appending the final + sign. Then in the later part of the program you can print line, print pipe name pipe, then print name again.
Does that make sense?