how to print this sereis 2 4 3 6 5..........?
Answers were Sorted based on User's Feedback
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 |
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 |
What are the functions to open and close the file in c language?
what value is returned to operating system after program execution?
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }
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
How can I manipulate individual bits?
Difference between data structure and data base.
7 Answers CTS, Value Labs, Zoho,
Two's compliment of -5
If null and 0 are equivalent as null pointer constants, which should I use?
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.
Is anything faster than c?
What is character constants?