diff options
| author | Asahel <[email protected]> | 2024-01-11 21:08:23 -0800 |
|---|---|---|
| committer | Asahel <[email protected]> | 2024-01-11 21:08:23 -0800 |
| commit | c93d07cf23bc8b23eeb41e916ca00d3236c64970 (patch) | |
| tree | 565752d6efc1fae48c7f7292bdd82133b9bfd835 | |
| parent | Update the header information (diff) | |
| download | archived-hello-world-asahellt-c93d07cf23bc8b23eeb41e916ca00d3236c64970.tar.xz archived-hello-world-asahellt-c93d07cf23bc8b23eeb41e916ca00d3236c64970.zip | |
In class excerise 2
| -rw-r--r-- | Hello World/Hello World/Program.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Hello World/Hello World/Program.cpp b/Hello World/Hello World/Program.cpp index 1037b66..f349f02 100644 --- a/Hello World/Hello World/Program.cpp +++ b/Hello World/Hello World/Program.cpp @@ -3,8 +3,20 @@ // Class: CST116 // Assignment: Inclass Exercise 1 +#include <iostream> + +using std::cout; +using std::cin; +using std::end1; int main() { - return 0; + cout << "Hello World" << end1; + + int j; + + cout << "Enter a value"; + + cin >> j; + return 0; }
\ No newline at end of file |