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


how to print this sereis 2 4 3 6 5..........?

Answers were Sorted based on User's Feedback



how to print this sereis 2 4 3 6 5..........?..

Answer / iamdluffy

something like

for(n=2;n<somenumber;n++)
{
print n;
print n*2;
n=n-1;
}

Is This Answer Correct ?    2 Yes 1 No

how to print this sereis 2 4 3 6 5..........?..

Answer / taz

2 3 5 is prime number & 4 after 2, 6 after 3...is two times
of previous number.

Is This Answer Correct ?    0 Yes 1 No

how to print this sereis 2 4 3 6 5..........?..

Answer / habeeb ahmed

10

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

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

0 Answers  


what value is returned to operating system after program execution?

0 Answers  


#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }

7 Answers   HCL,


palindrome for strings and numbers----Can anybody do the prog?

6 Answers   CTS, TCS, Vipro Lifescience Pvt,


What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 Answers  


How can I manipulate individual bits?

0 Answers  


Difference between data structure and data base.

7 Answers   CTS, Value Labs, Zoho,


Two's compliment of -5

4 Answers   Adobe,


If null and 0 are equivalent as null pointer constants, which should I use?

0 Answers  


A marketing company wishes to construct a decision table to decide how to treat clients according to three characteristics: Gender, City Dweller, and age group: A (under 30), B (between 30 and 60), C (over 60). The company has four products (W, X, Y and Z) to test market. Product W will appeal to female city dwellers. Product X will appeal to young females. Product Y will appeal to Male middle aged shoppers who do not live in cities. Product Z will appeal to all but older females.

2 Answers  


Is anything faster than c?

0 Answers  


What is character constants?

0 Answers  


Categories