summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsahel <[email protected]>2024-01-11 21:08:23 -0800
committerAsahel <[email protected]>2024-01-11 21:08:23 -0800
commitc93d07cf23bc8b23eeb41e916ca00d3236c64970 (patch)
tree565752d6efc1fae48c7f7292bdd82133b9bfd835
parentUpdate the header information (diff)
downloadarchived-hello-world-asahellt-c93d07cf23bc8b23eeb41e916ca00d3236c64970.tar.xz
archived-hello-world-asahellt-c93d07cf23bc8b23eeb41e916ca00d3236c64970.zip
In class excerise 2
-rw-r--r--Hello World/Hello World/Program.cpp14
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