Q:
write a programm to get the following out put when we enter n=4.
1
22
333
4444
sir, i hv attempted the following question but i cannot get in the required format.below is my programing code.
#include<iostream.h>
#include<conio.h>
void main()
{
int i,j,n;
clrscr();
cout<<"n=";
cin>>n;
for(i=0;i<n;i++)
{
for(j=i;j<n;j++)
{
cout<<j;
}
}
getch();
}
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment