how do u convert a C program like the one below to a C program using function ?
Note:The program output is an inverted right angled triangle starting from 5 and ending at 1Code:#include <stdio.h> #include <conio.h> main() { int i,j; for(i=5;i>=1;i--) { for(j=i;j>=1;j--) printf("%d",j); printf("\n"); } getch(); }