1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
how to print this using while statement??
Answer Posted / 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 |
Post New Answer View All Answers
what is a Additional domain ? what is a child domain?
which collection enforces type safety?
is it possible to get u.s visa with 55% in b-tech and 15 backlogs
what is isolator
what is the working of tcp/ip?
when does the official confirmation or the offer letter for the 2012 selected candidates of HUAWEI will come??
How to Shut-down the system through QTP Script?
if u r using bugzilla then it generates automatic bugids,while testing uhave got a bug then bug is represented through a bug id say bug1, then bug is assigned to developer he fixes a bug ,say the bug is fixed no error is got later after few regression cycles u have got the same bug but the bug is represented by diff id say bug2,tell me how do i come to know that it is the same bug that had occured previously but now it is represented by diff id
what is need of interface. what is the diff b/w interface and abstract class
What is the difference between a .PST file and a .OST file?
what is the differences between software engineering and other engineering disciplines.
How do an incremental process model and certification work together to produce high quality software? In your own words, describe the intent of certification in the clean room software engineering context.
hi, i applied for AIRPORTS AUTHORITY OF INDIA for the post of AIR TRAFFIC CONTROLLER(ATC)..so plz send me the sample questions to my id...88arun@gmail.com
what are the areas of improvement required in yourself to achieve your career goals? Describe what you are doing/plan to do to address the areas of improvement
I am going to HAL Online test for Computer Science. Can you please mail me the model question papers ?