Q. How to make half rhombus number triangle as:
5
456
34567
2345678
123456789
2345678
34567
456
5
Ans.
/*c program for half rhombus number triangle*/
#include<stdio.h>
int main()
{
int r,c,j,num,n;
printf("Enter Any Number : ");
scanf("%d", &num);
5
456
34567
2345678
123456789
2345678
34567
456
5
Ans.
/*c program for half rhombus number triangle*/
#include<stdio.h>
int main()
{
int r,c,j,num,n;
printf("Enter Any Number : ");
scanf("%d", &num);