Error: Invalid conversion from const char* to char -fpermissive How to fix this?
https://code.sololearn.com/c6chuoNE97ic/?ref=app switch (place) { //If place == 'a' case 'a': //Juliens Wreck, Sipalay City cout <<"\nJuliens Wreck, Sipalay City\n"; cout << "Distance - 163 km\n"; place [] ={"Wreck, Sipalay City"}; break; I also tried this but it says expected token before ] if the user choose five different places... and if they choose 1 vehicle we should prompt the user to enter the day trips they want so if all of the five places it will be conflict maybe we calculate each places first one by one like example place 1 has a distance of 20 km place 2 has a distance of 163 km place 3 .... 50 km calculate each of the distance first before adding all the expenses Or maybe the code must prompt the user first for the first selection then the second choice then the third and so on I get stuck at this I don't know please solve