Untitled

mail@pastecode.io avatar
unknown
c_cpp
2 months ago
257 B
1
Indexable
Never
#include <iostream>
#include <string>
using namespace std;
void asd(string& a, string &b, string &c, string &s)
{
	s = a + " " + b[0] + "." + c[0] + ".";
}
int main()
{
	string a,b,c, s = "";
	cin >> a >> b >> c;
	asd(a, b, c, s);
	cout << s;
}
Leave a Comment