to print 1 to 10 numbers using do while loop

Answer Posted / pranav

int i=1;
do
{
printf("%d",i);
i++;
}
while(i<=10);

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the turn-off time for converter grade scrs and inverter grade scrs?

627


Explain resistance?

612


i need to get a project idea on msp430 microcontroller can anyone help me

1353


What is the wave equation for the sound waves encountered in smart cell phones, specifically android?

1154


Define what is a p-n junction?

658






why BTS use 48 dc volt

1629


What is meant by phase controlled rectifier?

602


hai i need bhel model question paper for supervisor plz send this mail id bernatin@gmail.com

1562


Define digital function generator?

650


when was first developed dmrc.

1756


Typically, an IA has an external resistor used for A Establishing the output impedance B Setting the voltage gain C Setting the current gain D Interfacing with an instrument

1240


Describe the various methods of thyristor turn on?

633


difference between USB net modem & GSM interface modem? Can we use usb modem in the place of GSM modem for wireless application? Also tell me Why we use AM for long distance communication but not FM(why do we use frequency reuse concept in FM radi only)

1814


Draw the frequency response of DARLINGTON PAIR

2383


explain structure of optical fibre

1764