1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
how to print this using while statement??
Answer / divyesh
int i=1,j,k;
while(i<6)
{
k=((10-(2*i)))/2;
while(k>0)
{
printf(" ");
k--;
}
j=1;
while(j<=i)
{
printf("%d ",j);
j++;
}
printf("\n");
i++;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.
what are the various technique used for inter process communication?
i am shortlisted in corporation bank for the post of computer officer the next phase is group discussion. i want to know how to prepare and what about the topics for preparing thanking you if you have any suggestion please give me prabhatmishra21@rediffmail.com
0 Answers Corporation Bank, State Bank Of India SBI,
what does complexity means in an algorithim?? how it is calcutaed?
there are 50 users in a network, one system is virus affected , how to find that virus affected system?
Write a java program to print the subsets of a string
how to find out the name of the users who are currently working starting with the same characters in unix os
can anyone help me with an article or a few pointers on what are the industry expectations from Fresh engineers in today's market scenario
HOW CAN YOU RELATE THE FUNCTION WITH STRUCTURE EXPLAIN WITH APPROPRIATE EXAMPLES
give me a example of an application of Low severity & high priority.
How we calculate steam turbine governor linkage assembly?
what are basic step involved in embedded system software development?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)