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 void pointers in c?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Explain the binary height balanced tree?
What is identifier in c?
How can I remove the leading spaces from a string?
What is bss in c?
What are the advantages of c language?
What is %s and %d in c?
Explain what is wrong in this statement?
Explain is it better to bitshift a value than to multiply by 2?
Tell me the use of bit field in c language?
Explain what is the benefit of using const for declaring constants?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is the use of header files?
What are conditional operators in C?