@vncpetrov/

ConcatenateData

C++

No description

fork
loading
Files
  • main.cpp

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.6825052817972852","path":"main.cpp","file":{"path":"main.cpp","content":{"asEncoding":{"base64":"I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewoJc3RyaW5nIGZpcnN0TmFtZSwgbGFzdE5hbWUsIHRvd247CglpbnQgYWdlOwoJY2luID4+IGZpcnN0TmFtZTsKCWNpbiA+PiBsYXN0TmFtZTsKCWNpbiA+PiBhZ2U7CgljaW4gPj4gdG93bjsKCgljb3V0IDw8ICJZb3UgYXJlICIgPDwgZmlyc3ROYW1lIDw8ICIgIiA8PCBsYXN0TmFtZSA8PAogICAgIiwgYSAiIDw8IGFnZSA8PCAiLXllYXJzIG9sZCBwZXJzb24gZnJvbSAiIDw8IHRvd24gPDwgIi4iIDw8IGVuZGw7CgoJcmV0dXJuIDA7Cn0KCg=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>
#include <string>

using namespace std;

int main()
{
	string firstName, lastName, town;
	int age;
	cin >> firstName;
	cin >> lastName;
	cin >> age;
	cin >> town;

	cout << "You are " << firstName << " " << lastName <<
    ", a " << age << "-years old person from " << town << "." << endl;

	return 0;
}