C
Programming and Technical
Programming
Program
Write a program that displays output as
1 2 4 7 11
3 5 8 12
6 9 13
10 14
15
Read Solution (Total 10)
-
- int main()
{
int i,j,l,n=1,k=1;
int count=0,c=5;
for(i=1;i - 11 years agoHelpfull: Yes(7) No(7)
- int i,j,l,n=1,k=1; int count=0,c=5;
for(i=1;i - 11 years agoHelpfull: Yes(1) No(1)
- #include
int main()
{
int i,j,k=0,l=0,n=0,m=0;
for(i=0;i - 10 years agoHelpfull: Yes(1) No(2)
- void main(){int i,j,x=1,count=1;for(i=1;i
- 10 years agoHelpfull: Yes(1) No(0)
- int main()
{
static int n = 5;
static int j = 1;
static int sum=1;
static int sum1 = 1;
static int temp = 0;
int i;
do
{
sum = sum1 ;
for(i = j; i - 11 years agoHelpfull: Yes(0) No(2)
- #include
#include
#include
void main()
{
int i,j,x=1,count=1;
clrscr();
for(i=1;i - 10 years agoHelpfull: Yes(0) No(0)
- void main()
{
int c=1,n,i,j,k=0,d=0;
printf("Enter the number of rows : ");
scanf("%d",&n);
for(i=0;i - 10 years agoHelpfull: Yes(0) No(1)
- c=1;
for(i=0;i - 10 years agoHelpfull: Yes(0) No(0)
- main ()
{
int i,j,x=1,sum,n;
scanf("%d",&n);
for(i=0;i - 10 years agoHelpfull: Yes(0) No(0)
- #include
main()
{
int i,j;
int m=0,k,n,l;
k=1;
for(i=1;ii;j--)
{
printf("%d ",l);
l=l+n;
n++;
}
k++;
printf("n");
}
} - 10 years agoHelpfull: Yes(0) No(0)
C Other Question