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 the difference between functions getch() and getche()?

1103


What is a stream in c programming?

1163


How can I prevent another program from modifying part of a file that I am modifying?

1066


What is the data segment that is followed by c?

1095


Write a program to reverse a given number in c?

1047


Explain what are reserved words?

1115


What is the function of this pointer?

1354


Why can’t constant values be used to define an array’s initial size?

1391


Explain what is wrong in this statement?

1130


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1996


How do I get a null pointer in my programs?

1120


What does it mean when a pointer is used in an if statement?

1117


What are disadvantages of C language.

1168


What are the advantages of c language?

1100


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1091