#include <iostream> //Anything that starts with a # is a pre-processor command
#include <string>
int main() //You can put parameters in here (eg for running from a console with parameters)
{
std::cout << "Type your name" << std::endl;
std::string name;
std::cin >> name;
std::cout << "Hello, " << name << std::endl;
return 0;
}
Comments
0 B
|👍
/👎