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...

print out put like this form
1 2 3 4 5 6
3 5 7 9 11
8 12 16 20

Answer Posted / sai

#include<stdio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=1;i<=6;i++)
printf("%d ",i);
for(i=3;i<=11;i=i+2)
printf("%d ",i);
for(i=8;i<=20;i=i+4)
printf("%d ",i);
getch();
}

Is This Answer Correct ?    30 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static and volatile in c?

1178


What are different storage class specifiers in c?

1044


How can I read and write comma-delimited text?

1014


What is fflush() function?

1083


Explain what are multidimensional arrays?

1011


In a header file whether functions are declared or defined?

1081


what do u mean by Direct access files? then can u explain about Direct Access Files?

2034


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1150


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15733


Explain what is the general form of a c program?

1035


What is the difference between null pointer and wild pointer?

1139


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1028


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1205


will u please send me the placement papers to my mail???????????????????

1796


What are the different file extensions involved when programming in C?

1209