From 39f0be636f36ffd0125c97c35d2147894ad74da6 Mon Sep 17 00:00:00 2001 From: Palinda1 <73155112+Palinda1@users.noreply.github.com> Date: Sat, 31 Oct 2020 17:23:21 +0530 Subject: [PATCH 1/2] added hello world in c --- hello world in C | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 hello world in C diff --git a/hello world in C b/hello world in C new file mode 100644 index 0000000..34d86c4 --- /dev/null +++ b/hello world in C @@ -0,0 +1,6 @@ +#include +int main() { + // printf() displays the string inside quotation + printf("Hello, World!"); + return 0; +} From 7f8a332d6233b2a42c0934d3f3917b85c9cf4b3f Mon Sep 17 00:00:00 2001 From: Palinda1 <73155112+Palinda1@users.noreply.github.com> Date: Sat, 31 Oct 2020 17:25:50 +0530 Subject: [PATCH 2/2] hello world in C++ --- hello world in C++ | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hello world in C++ diff --git a/hello world in C++ b/hello world in C++ new file mode 100644 index 0000000..a471857 --- /dev/null +++ b/hello world in C++ @@ -0,0 +1,8 @@ +// Your First C++ Program + +#include + +int main() { + std::cout << "Hello World!"; + return 0; +}