to print 1 to 10 numbers using do while loop

Answer Posted / balamurugan

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why would the files on hard drive stores temporarily but not permanent?

1253


What is the ratio of majority and minority carriers in intrinsic and extrinsic semiconductors?

618


What is a transistor? What are its applications?

606


What are the frequency compensation methods?

600


What are boolean algebra and boolean expression?

543






What are the advantages of using c band for satellite communication?

585


Is there any junction in conductor?

583


I am perparing for DMRC Jr. Engineer Post. Please post me reference book Name At my Id laxman.negi@gmail.com

1962


Differentiate between static and dynamic resistance of a diode.

1074


can u send me previous question papers of secction engineer (electronics),chennai rrb.

1670


SIR,i am applying for the jr.engineer(signal)post.kindly if you send some previos sample question -answer i will be higly obliged

1709


In UMTS, which will control RRC protocol??

1798


Explain what is pulse logic system?

664


WHAT R THE DIFFERENT CONFIGURATIONS OF FPGA

1584


Name the equipments required for 2+2+2.

1483