02/07/05

Task: Write a program that prints out: "Hello, World!"

Once you've accomplished that, write a program that asks the user for their first name and prints out: "Hello, name!" where name is replaced by the name the user entered.

Purpose: The purpose of this program is primarily to get you used to using the Visual Studio interface and for you to learn how to create, compile, and run a program in Visual Studio. The secondary purpose to introduce you to input and output in C++.


Solution:


#include <iostream>

using namespace std;

int main()
{
	cout << "Hello, World!";
}