From 0ea039046c92a547e251704e0bcdc7a27477bc60 Mon Sep 17 00:00:00 2001 From: Sanket-M13 <115860330+Sanket-M13@users.noreply.github.com> Date: Sat, 15 Oct 2022 13:05:07 +0530 Subject: [PATCH] its an * pattern --- maisankethoon.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 maisankethoon.cpp diff --git a/maisankethoon.cpp b/maisankethoon.cpp new file mode 100644 index 0000000..4f83352 --- /dev/null +++ b/maisankethoon.cpp @@ -0,0 +1,19 @@ +#include + +using namespace std; + +int main(){ + int i, j, n; + cout<<"enter the number of rows "; + cin>>n; + for(i=1; i<=n; i++) + { + for(j=1; j<=i; j++){ + cout<<"* "; + } + cout<<"\n"; + } + + return 0; + +}