Don’t worry, unlock all articles / blogs on PrepInsta by just simply logging in on our website
Notifications Mark All Read
No New notification
June 23, 2019
#include
using namespace std;
int main()
{
int n=4,num=n-1;
for(int i=1;i<=n;i++)
for(int j=1;j<=i;j++)
cout<<num;
num++;
cout<<endl;
}
num--;
for(int i=n;i>=1;i--)
return 0;
Login/Signup to comment
Get Hiring Updates right in your inbox from PrepInsta
Login/Signup to comment