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
How to write a code for reverse of string without using string functions?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
What is pointers in c with example?
what is use of malloc and calloc?
What does c mean before a date?
Explain the Difference between the New and Malloc keyword.
What is masking?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
If null and 0 are equivalent as null pointer constants, which should I use?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Is a pointer a kind of array?
How can I call a function with an argument list built up at run time?
If I have a char * variable pointing to the name of a function ..
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university