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
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What is main function in c?
What is time null in c?
Write a program for finding factorial of a number.
What is the value of c?
What is a global variable in c?
What are the application of void data type in c?
What is a constant?
What do you mean by a sequential access file?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is an endless loop?
What are the advantages of using new operator as compared to the function malloc ()?
Which are low level languages?