Category: Computer

C Programming to display number patterns in right angle

Share This Topic:     Course Details Field of Study: Computer Science and Engineering Course Name: C Programming Course Description: C Programming to display number patterns in right angle triangle Code #include<stdio.h> #include<conio.h> void main() { clrscr(); int n; printf(“Enter the number\n”); scanf(“%d”,&n); for(int i=n;i>=1;i–) { for(int j=1;j<=i;j++) { printf(“%d”,j); } printf(“\n”); } getch(); }