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 is difference between %d and %i in c?

0 Answers  


what is difference between ANSI structure and C99 Structure?

1 Answers   Wipro,


How to print "I Love My India" without using semi colon?

4 Answers  


control 50 devices which has 2 states on and off.using bitwise operator.plz answer it its urgent

1 Answers  


How can you convert integers to binary or hexadecimal?

0 Answers  






Do string constants represent numerical values?

0 Answers  


main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }

4 Answers   CTS,


Explain how can I prevent another program from modifying part of a file that I am modifying?

0 Answers  


There are 8 billiard balls, and one of them is slightly heavier, but the only way to tell was by putting it on a weighing scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball?

5 Answers   Microsoft, TCS,


What are the keywords in c?

0 Answers  


What are local static variables? How can you use them?

0 Answers  


What is null in c?

0 Answers  


Categories