You are viewing a single comment's thread. Return to all comments →
i am new to coding , can any one tell what is wrong in this approcach:
using namespace std;
int main() {
string str="25,45,66";
for(int i=0;i
}
//ascii string number; cin>>number;
char ch='0'; for(int i=0;i
} else{ cout<<int(number[i])-'0'; }
return 0;
Seems like cookies are disabled on this browser, please enable them to open this website
StringStream
You are viewing a single comment's thread. Return to all comments →
i am new to coding , can any one tell what is wrong in this approcach:
include
include
include
include
using namespace std;
int main() {
string str="25,45,66";
for(int i=0;i
}
//ascii string number; cin>>number;
char ch='0'; for(int i=0;i
}
}