Untitled

mail@pastecode.io avatar
unknown
c_cpp
8 months ago
626 B
0
Indexable
Never
#include <iostream>
#include <cmath>
#include <string>
#include <windows.h>
using namespace std;

void fuf(string gorbachev)
{	
	system("cls");
	cout << gorbachev;
}

int main()
{
	setlocale(LC_ALL, "russian");
	string l;
	cin >> l;
	string g;
	cin >> g;
	string ex;
	cin >> ex;

	string roma;

	for (int i = 0; i < l.size(); i++)
	{
		roma.push_back(l[i]);
	}
	
	roma.push_back(' ');

	for (int i = 0; i < g.size(); i++)
	{
		roma.push_back(g[i]);
	}

	roma.push_back(' ');

	for (int i = 0; i < ex.size(); i++)
	{
		roma.push_back(ex[i]);
	}

	string& h = roma;

	fuf(roma);
}
Leave a Comment