From 7a45c1bb7ea4555e256df7673cd812fbda6a2e4a Mon Sep 17 00:00:00 2001 From: Sanya Verma Date: Tue, 27 Sep 2022 18:29:20 +0530 Subject: [PATCH] Basics1 --- C++All_Programs/basic.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 C++All_Programs/basic.cpp diff --git a/C++All_Programs/basic.cpp b/C++All_Programs/basic.cpp new file mode 100644 index 0000000..b4b019a --- /dev/null +++ b/C++All_Programs/basic.cpp @@ -0,0 +1,18 @@ +#include +using namespace std; + +int main(){ + // 1. input ans output + int n; + + cout<<"Enter a number : "; + cin>>n; + cout<<"\n Entered number is ---> "<