#include<iostream>
#include<conio.h>
#include<string>
using namespace std;
int main()
{
string x="highschool";
string y="middle";
x.replace(1,0,y);
cout<<x;
}
#include<conio.h>
#include<string>
using namespace std;
int main()
{
string x="highschool";
string y="middle";
x.replace(1,0,y);
cout<<x;
}
No comments:
Post a Comment