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
How can I list all of the predefined identifiers?
What is the difference between text and binary modes?
Explain why C language is procedural?
Write a function that will take in a phone number and output all possible alphabetical combinations
What are volatile variables in c?
What is include directive in c?
Why pointers are used?
Can a variable be both const and volatile?
What are the 5 elements of structure?
How is pointer initialized in c?
What is the best way to store flag values in a program?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Combinations of fibanocci prime series
What is unary operator?