mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-30 18:46:26 +01:00
Hello Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
commit
333d9a4053
@@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::string name = getName();
|
||||
std::cout << "Hello, " << name << "!" << std::endl;
|
||||
}
|
||||
|
||||
std::string getName()
|
||||
{
|
||||
std::string name;
|
||||
std::cout << "Enter your name: ";
|
||||
std::cin >> name;
|
||||
return name;
|
||||
}
|
||||
Reference in New Issue
Block a user