java main get string frmo console and print code example
Example: how to print a string to console in c++
// Just some basic format
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "Print a String" << endl;
}
// Just some basic format
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "Print a String" << endl;
}