#include<string>
using namespace std;
int main()
{
double pi = 3.14;
string s1 = "pi=" + to_string(pi);
string s2 = to_string(1 + 2 + 4 + 7 + 14) + " is the sum";
cout << s1 << endl;
cout << s2 << endl;
return 0;
}
#include<string>
using namespace std;
int main()
{
double pi = 3.14;
string s1 = "pi=" + to_string(pi);
string s2 = to_string(1 + 2 + 4 + 7 + 14) + " is the sum";
cout << s1 << endl;
cout << s2 << endl;
return 0;
}