Convert a string to an integer value
Anonymous
#include using namespace std; int main() { string stringnumber = "21"; //use string to integer (stoi) to convert from string to integer int number = stoi(stringnumber); cout <
Check out your Company Bowl for anonymous work chats.