Science, asked by saj68, 1 year ago

wap to print a following series
1
12
123
1234
12345​

Answers

Answered by pari1625
2

Answer:

int main()

{

int i,j;

for(i=1;i<=5;i++)

{

for(j=1;j<=i;j++)

{

printf("%d\t",j);

}

printf("\n");

}

return 0;

}

mark as brainliest answer

Answered by Anonymous
0

Answer:-

_______________[Code]___________

# Program by ShinchanTheGreat

def triangle():

print("1")

print("12")

print("123")

print("1234")

print("12345")

____________[End]___________

Output

>>>triangle()

______[Press Enter]_____

1

12

123

1234

12345

>>>

====================================

Mark as Brainliest

#Brainly Teaser

Similar questions