I am making a program where the user enters a country and the population onto one line and then it will display the country and the population in one line and I have got that part to work
I need to extract the name of the country and the population in millions as variables and then have the program change the variables so the first letter of the country will be a capital letter and the population in millions as the display output. like if I put in canada 32, the display will show Canada 32milion
I know I have to use indexof and substring methods but I have no idea where to start, any help would be appreciated