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 / sourav das

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

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of static variable in c?

943


Can a variable be both static and volatile in c?

973


What are high level languages like C and FORTRAN also known as?

1105


What is the difference between exit() and _exit() function in c?

1015


What is the explanation for prototype function in c?

921


Write a program to print “hello world” without using semicolon?

1076


What is a pragma?

1074


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1115


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1440


What is #include cctype?

1070


What does calloc stand for?

1081


Explain what is meant by 'bit masking'?

1117


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

15722


Which driver is a pure java driver

1529


What are pointers? What are stacks and queues?

1061