hello
can anybody say the code required to convert a string to integer datatype
that is get a number as a string type and convert it integer
ex
char num[10];
cout<<"Enter a number: ";
cin>>num;
// convert num to int datatype so that arithmetic calcs is possible