Untitled

 avatar
unknown
c_cpp
a year ago
257 B
4
Indexable
#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;
}
Editor is loading...
Leave a Comment