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 / sridhar

#include<stdio.h>
#include<conio.h>
main()
{
int a,b,c,d; /*declaring variable using int*/
clrscr();
printf("enter the numbers:")
scanf("/n%d/n%d",&a,&b);/*getting number using scanf*/
c=a,b;
d=(c/2==0);
printf("the even number is:%d",d)/*print the final answer*/
getch();
}

Is This Answer Correct ?    8 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of function in c?

1193


How many levels of pointers have?

1054


how to build a exercise findig min number of e heap with list imlemented?

2077


What does c in a circle mean?

1079


Where are some collections of useful code fragments and examples?

1164


What is context in c?

924


What is a nested formula?

1158


What is a nested loop?

1129


What is the explanation for cyclic nature of data types in c?

1219


How is actual parameter different from the formal parameter?

1026


What is malloc calloc and realloc in c?

1332


How do you do dynamic memory allocation in C applications?

1089


what is reason of your company position's in india no. 1.

2336


What is maximum size of array in c?

1046


Do you know the purpose of 'register' keyword?

1023