answersLogoWhite

0

  1. #include

void main()

{

int num,i;

printf("\n Enter number upto which even numbers must be displayed \t");

scanf("%d",&num);

printf("\n Even numbers less than %d are \n",num);

for(i=2;i

{

printf("%d ",i);

}

getch();

}

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Write a program in qbasic to make a hut using print statemant?

a triangle then a square :)


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


Write a program to Print pyramid of numbers using java?

hi question is here, 1 1 2 1 2 3 1 2 3 4


How do you write an assembly language program to find the sum of n numbers using array?

write an assembly language program to find sum of N numbers


Write a program that read phrase and print the number of lower-case letter in it using function of counting?

write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program


How do you write a program to read set of numbers using by an array and display the ascending order of the given input numbers?

To write a C++ program to display the student details using class and array of object.


Program for print prime all number from 1 to 100 in foxpro?

Oh, what a lovely request! In FoxPro, you can create a program to print all prime numbers from 1 to 100 by using a loop to check each number for divisibility only by 1 and itself. If it meets this criteria, you can print it out on the screen. Remember, every number is unique and special, just like a happy little tree in a vast forest.


Write a FORTRAN program using if statement to calculate the smallest of three numbers xyz?

N = x If y < N then N = Y If z < N then N = z Print N


You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?

i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?


How do you write a c program to print n no's required using while loop?

int i=0; while (i++<n) { /*...*/ }


Write a program to find the product of two numbers using Halving and Doubling method?

i need this answer