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
is the RKDF university is aicte approved for b.tech in computer
Is Diesel staorage tank ( 800 litres) cleaning procedure is available with any body
what are the efficient way or solutions to avoid ABEND=S04C.
How do aeroplanes fly? Why can some fly up-side down?
what are the advantages as disadvantages of the V-model?
Explain momentum?
BEL old probationary engineering questions and answers
Q1. A. Discuss the various types of variables. B. How to control the file? Q2. A. How the image application? B. Write short notes on trees structures work. Q3. A. How to load and unload child forms. B. When should we use recursive programming Q4. A. Write short notes on “The ole control’s shortcut menu” B. How to test the AX stat class Q5. A. How to use advanced data-bound controls. B. Write notes on manipulating the recordset object Q6. A. What is script control? B. How to down load image properties. C. What is meant by building a recordset.
what is the need for oobs
hey guys.... My name is Bandana Thakur.Im a cse(8th sem) student.i want to make my career in php language.i want to work with google,wipro,tcs,infosys.peoples tell me that the salary package of php developer is very less n these companies do not work in php language.please tell me what i do now? should i go with the php language or make my career in another language? pls reply me in my e-mail id bandana.thakur14at@gmail.com
Please explain me gsm call scenario for a prepaid roamer calling to a prepaid roamer?
in which website , i can able to get the electrical basics.?????????????
sir/medam i had completed my B-TECH(CSE)2011 with 61%.i have to go USA for futhure studies.i dnt know what is steps for do futhure studies in USA so could you please tell me
What kind of question can be asked at the time of Interview for State Bank Of India Clerical Interview
I am haning thousands emails in my send box (which i sended.) Now i want to send all these emails (Total in send box)to other by email. Can i send total emails at one time (Not sending each indivisually) by one comand; Please tell the steps..Thanks.