Computer Science, asked by Abjima, 4 months ago

program to print right angled triangle using functions​

Answers

Answered by Braɪnlyємρєяσя
2

Explanation:

Exercises: Display the pattern like right angle triangle using...

Pictorial Presentation:

Sample Solution:

C Code: #include <stdio.h> void main() { int i,j,rows; printf("Input number of rows : "); scanf("%d",&rows); for(i=1;i<=rows;i++) { for(j=1;j<=i;j++) printf("%d",j); printf("\n"); } } ...

Flowchart:

C Programming Code Editor:

Answered by Anonymous
1

Explanation:

Pictorial Presentation:

Sample Solution:

C Code: #include <stdio.h> void main() { int i,j,rows; printf("Input number of rows : "); scanf("%d",&rows); for(i=1;i<=rows;i++) { for(j=1;j<=i;j++) printf("%d",j); printf("\n"); } } ...

Flowchart:

C Programming Code Editor:

Similar questions