From 8ed230479acfe97fab2dc07011f97d6230c902f7 Mon Sep 17 00:00:00 2001 From: sachin7460 <56535317+sachin7460@users.noreply.github.com> Date: Mon, 14 Oct 2019 13:42:57 +0530 Subject: [PATCH] Create pramid of alfabet --- cpp/pramid of alfabet | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cpp/pramid of alfabet diff --git a/cpp/pramid of alfabet b/cpp/pramid of alfabet new file mode 100644 index 0000000..84493ab --- /dev/null +++ b/cpp/pramid of alfabet @@ -0,0 +1,21 @@ + #include + using namespace std; + int main() + { + + int i,j; + int n=5; + + for(i=1;i<=n;i++) + { + for(j=1;j<=i;j++) + { + cout<<((char)(j+64)); + } + + cout<