blob: 8f0dbbbb891a34ebac061ca9f28737c574ac94b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// CSCI 1300 Fall 2022
// Author: Navan Chauhan
// Recitation: 307 – TA name
// Homework 2 - Problem 2
#include<iostream>
using namespace std;
int main() {
string name;
cout << "Please enter your name below:\n";
cin >> name; // Takes user input
cout << "Hello, " << name << "!"; // Prints user's input
return 0;
}
|