program to print right angled triangle using functions
Answers
Answered by
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
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
English,
2 months ago
Math,
2 months ago
History,
4 months ago
Sociology,
4 months ago
Social Sciences,
10 months ago