Can anyone help me with this please? Need to print the below
values.. Thanks
1
1 2
1 2 3
1 2 3 4
Answer Posted / mohit (firozabad, a.d.college)
#include<stdio.h>
#include<conio.h>
void main()
{
int i,j;
for(i=1;i<=4;i++)
{
for(j=1;j<=i;j++)
printf("%d",j);
}
printf("\n");
getch();
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why is structure important for a child?
Why is c used in embedded systems?
difference between native and cross compilers
Explain enumerated types in c language?
What is array within structure?
What is this pointer in c plus plus?
Why cant I open a file by its explicit path?
What is bash c?
Explain what are binary trees?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Why main is not a keyword in c?
What is queue in c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is uint8 in c?
Explain how can I prevent another program from modifying part of a file that I am modifying?