Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can please someone teach me how to create this program using
while statement.. this is the output should look like

0
2
4
6
8
10

-thanks.. :) need it asap...

Answer Posted / parth ujenia

#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
while(i<=9)
{
printf("%d", i+2);
}
getch();
}

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

997


How can you determine the size of an allocated portion of memory?

1259


What are types of structure?

1072


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1201


Do character constants represent numerical values?

1292


Explain the difference between strcpy() and memcpy() function?

959


What are global variables?

1129


What is d scanf?

1031


What is the difference between new and malloc functions?

1065


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1981


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1896


What does c mean?

986


What are the functions to open and close file in c language?

1147


What is the c language function prototype?

1050


What is zero based addressing?

1121