#include <iostream> using namespace std; int main() { string a; cin >> a; for(int i=0; a[i] != '\0'; i++) { cout << a[i]; } cout << "\n"; cout << "string is :" << a; return 0; }
ex) kim