Answer Posted / nilaksh
#include<stdio.h>
#include<conio.h>
void main()
{
int i, n;
clrscr();
printf("\nHow many odd numbers?");
scanf("%d",&n);
for(i=1;i<=n*2;i++)
printf("\n %d",i);
getch();
}
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
What are structure types in C?
what is the role you expect in software industry?
Implement bit Array in C.
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What are the different types of endless loops?
What is the difference between printf and scanf )?
What language is windows 1.0 written?
Write a program to implement queue.
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
When should volatile modifier be used?
What is the usage of the pointer in c?
Why is c not oop?
Which programming language is best for getting job 2020?
What is meant by initialization and how we initialize a variable?
Tell me can the size of an array be declared at runtime?