diff --git a/CM2005 Object Oriented Programming/Topic 1/1.4.1/a.exe b/CM2005 Object Oriented Programming/Topic 1/1.4.1/a.exe new file mode 100644 index 0000000..ab4da7e Binary files /dev/null and b/CM2005 Object Oriented Programming/Topic 1/1.4.1/a.exe differ diff --git a/CM2005 Object Oriented Programming/Topic 1/1.4.1/main.cpp b/CM2005 Object Oriented Programming/Topic 1/1.4.1/main.cpp new file mode 100644 index 0000000..7b077b3 --- /dev/null +++ b/CM2005 Object Oriented Programming/Topic 1/1.4.1/main.cpp @@ -0,0 +1,10 @@ +#include + +int main(int argc, char const *argv[]) +{ + std::cout << "Type in a number: " << std::endl; + int x; + std::cin >> x; + std::cout << "You typed: " << x << std::endl; + return 0; +}