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 / hari
#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 ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of ftell?
What does c mean?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
why wipro wase
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 restrict keyword in c?
What is a stream in c programming?
Explain data types & how many data types supported by c?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is the value of h?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
regarding pointers concept
Why c is a procedural language?