i’m trying to divide a string containing numbers using an int datatype, but it shows cant divide string by int
int a[i]={2,3,5,7,11,13,17,19,23,29};
string s;
s%a[i];
this code here shows error
can you please share the right code and the logic to how i can divide a string with an integer character without getting an error?