write a C++ program that takes a string from user .
Answers
Answered by
0
Answer:
string firstName;
cout << "Type your first name: ";
Explanation:
Answered by
0
Answer:
A C++ program that takes a string from user
Explanation:
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
string s;
cin>>s;
cout<<"The string is "<<s;
}
Similar questions