C++
Function name: stringToInteger
| Converting | stringToInteger | ※ Takes one string parameter which is a valid integer 7 You don’t have to check if it’s valid integer format * Returns an integer Can he done in a sin gle line: use stoi( function Show transcribed image text | Converting | stringToInteger | ※ Takes one string parameter which is a valid integer 7 You don’t have to check if it’s valid integer format
OR
OR