From 6e0355404548f1d8c0b6c9ef133c8f7eef7942cb Mon Sep 17 00:00:00 2001 From: Bharti Meena <60185429+bhartimeena@users.noreply.github.com> Date: Fri, 14 Oct 2022 10:47:33 +0530 Subject: [PATCH] hacktoberFest2022 --- C++/half_pyramid.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 C++/half_pyramid.cpp diff --git a/C++/half_pyramid.cpp b/C++/half_pyramid.cpp new file mode 100644 index 0000000..2f09ec8 --- /dev/null +++ b/C++/half_pyramid.cpp @@ -0,0 +1,18 @@ +// APNI KAKSHA DSA SERIES +// Print Half Pyramid Pattern using Stars + + +#include +using namespace std; + +int main(){ + int n; + cin>>n; + for(int i=0;i