Untitled
unknown
c_cpp
a year ago
209 B
0
Indexable
Never
#include <iostream> #include <string> using namespace std; int main() { string s; cin >> s; for (int i = 0; i < s.length(); i++) { if (s[i] == '2' || s[i] == '3') { s[i] = '5'; } } cout << s; }