One More thing You must follow:
Algorithm
1. define convert() function.
2. Pass string as a parameter.
3. Check the last two elements of the time.
4. If it is AM and 12 don't add.
5. If it is PM convert it.
6. Remove PM and add 12 to it.
7. Print the time in desirable format.
Ukraine has always been a magnet for foreign students. This dates back to Soviet period, during which there was an abundance of spending on higher education as an attempt to lure foreign students, particularly those from recently independent African countries.
Nowadays, Ukrainian universities are seen as an entry point to the European job market, providing cheap tuition, easy visa conditions and the potential for permanent residence. Also, there are a lot of foreign educational offers for ukraine students, "Ukrainian degrees are well-known and offer an excellent level for education" stated Patrick Esugunum who is a member of an organization that helps West African students wanting to pursue their studies in Ukraine.
"A large number people, medical school students especially are interested in going to the country because they have a high quality medical facility," he added.
Desmond Chinaza Muokwudo, a Nigerian student located in Dnipro and said that he was drawn to the city by its easy admission requirements as well as the cost of living that is low in comparison to similar European cities.
He was enrolled in the University of Customs and Finance just three months back.
There are many courses offered in English However, the 30-year-old was taking an initial Ukrainian language class, prior to beginning to pursue studies in international relations.
"I was welder in Nigeria and I required an education in order to be able to do things," he told the BBC in a hotel located in Poland after fleeing from the war.
"Ukraine was the most suitable option I could have made."