From efbe068b256a14b6d5618dceaa30026d57f7741f Mon Sep 17 00:00:00 2001 From: Shivamcyber6 <54810162+Shivamcyber6@users.noreply.github.com> Date: Fri, 30 Oct 2020 23:11:13 +0530 Subject: [PATCH] Added Weird algo --- weird.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 weird.cpp diff --git a/weird.cpp b/weird.cpp new file mode 100644 index 0000000..6f5f620 --- /dev/null +++ b/weird.cpp @@ -0,0 +1,29 @@ +#include + +using namespace std; + +int main(void) +{ + int n; + + cout<<"Enter the Number : "; + cin>>n; + cout<