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 programme to find even numbers without using any
conditional statement?

Answer Posted / guest

#nclude<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter the numbers for a,b,c:");
scanf("%d%d",&a,&b);
c=a/b;
c=0;
printf("The given number is even");
getch();
}

Is This Answer Correct ?    6 Yes 57 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is void pointers in c?

1001


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3940


Explain the binary height balanced tree?

1178


What is identifier in c?

1007


How can I remove the leading spaces from a string?

1151


What is bss in c?

1091


What are the advantages of c language?

1088


What is %s and %d in c?

1035


Explain what is wrong in this statement?

1114


Explain is it better to bitshift a value than to multiply by 2?

1194


Tell me the use of bit field in c language?

1059


Explain what is the benefit of using const for declaring constants?

1025


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1360


What is the use of header files?

1100


What are conditional operators in C?

1091