program for tis structure given below:
1=1
1+2=3
1+2+3=6
1+2+3+4=10
........
............
.............
1+2+3+4+5+6+7+8+9+10=55

c++
jonsca commented: No? -3
Onlineshade commented: What you want to know? -1

#include<stdio.h>
#include<conio.h>
void main()
{
int a;
clrscr();
for(a=1;a<=10;a++)
{
printf("%d",a);
}
getch();
}

commented: Give some guidlines. -1

aastha takkar,
Mention what you need?

If you want to know the logic many questions will become.So mention your problem to be discussed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.