#include <iostream>
#include <string>
using namespace std;
int main() {
string fullName;
cout << "Enter the full name: ";
getline(cin, fullName);
if (fullName.find(' ') != string::npos) {
cout << "Entered a full name." << endl;
}
else {
cout << "Please enter a valid full name." << endl;
}
return 0;
}
30 10月 2023, 13:22

