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
Explain main function in c?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What are the advantages of using linked list for tree construction?
How can I make sure that my program is the only one accessing a file?
Why do we need functions in c?
What does d mean?
Is fortran still used in 2018?
What is spark map function?
string reverse using recursion
What is the difference between strcpy() and memcpy() function in c programming?
Why can arithmetic operations not be performed on void pointers?
List the difference between a While & Do While loops?
What is the use of c language in real life?
What does c mean in basketball?
Explain function?