Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program for even numbers?

Answer Posted / vinay kumar gupta

#include <stdio.h>
#include<conio.h>
void main()
{
int i,lim;
clrscr();
printf("enter the limit \n");
scanf("%d",&lim);
for(i=1;i<=lim;i++)
{
if (i%2==0)
}
printf("even no. are= %d",i);
getch();
}

Is This Answer Correct ?    10 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2243


What is the code for 3 questions and answer check in VisualBasic.Net?

2157


c language interview questions & answer

1957


How do shell structures work?

1111


code for find determinent of amatrix

1961


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1174


What is variable in c example?

1069


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2465


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1345


Why is void main used?

1094


Is there a way to jump out of a function or functions?

1091


What is 2 d array in c?

1021


How many levels of indirection in pointers can you have in a single declaration?

1088


What is string length in c?

1080


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1087