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 / carol
#include<stdio.h>
main()
{
int i,j= 0;
for(j= 1;j<=5 ;j++)
{
for(i=1;i<=j;i++)
printf("%d ",i);
printf("\n");
}
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
praagnovation
What does. int *x[](); means ?
What does %c do in c?
Whats s or c mean?
What is strcmp in c?
What is ponter?
Why void is used in c?
Differentiate call by value and call by reference?
What is c basic?
Explain what are the __date__ and __time__ preprocessor commands?
What is .obj file in c?
What is an expression?
Why do we use stdio h and conio h?
How can type-insensitive macros be created?