How to Print Left Triangle * Pattern 1 In C++ How to Print Left Triangle * Pattern In C++ By Munavar Ahmad * ** *** **** ***** #include<iostream> using namespace std; int main() { int i,j; for(i=1;i<=5;i++) { for(j=1;j<=i;j++) { cout<<"*"; } cout<<endl; } return 0; }
Level ha bhai
ReplyDelete