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
What is pass by value in c?
Where are local variables stored in c?
What are the advantages of the functions?
What are pointers? What are different types of pointers?
how is the examination pattern?
Tell us the use of fflush() function in c language?
how do you programme Carrier Sense Multiple Access
I heard that you have to include stdio.h before calling printf. Why?
Why does not c have an exponentiation operator?
Differentiate between calloc and malloc.
What is type qualifiers?
What oops means?
write a program for the normal snake games find in most of the mobiles.
How can a program be made to print the line number where an error occurs?
how to capitalise first letter of each word in a given string?