even odd numer c
#include <stdio.h>
int main() {
int num;
printf("Enter an integer: ");
scanf("%d", &num);
// True if num is perfectly divisible by 2
if(num % 2 == 0)
printf("%d is even.", num);
else
printf("%d is odd.", num);
return 0;
}
if( num % 2 == 0 )
printf("EVEN!\n");
else
printf("ODD!\n");if((x & 1) == 0)
printf("EVEN!\n");
else
printf("ODD!\n");
Also in C:
- porhub
- command line coursera
- Route::resource
- cv2.solvepnpransac too many values to unpack
- bcopy
- es par
- subrayar elementos css
- powershell some fonts like #include are dissapearing
- read a document in c getting name from console
- c++ image processing
- get_session` is not available when using TensorFlow 2.0.
- c bit access struct
- int to float c
- how to input a string into a char array cpp
- fgets c
- sidebar materializecss
- array addition and multiplication in c
- how to free memory in c
- curl post request
- WARNING: QA Issue: rdepends on
- pthread_create
- c vs python
- copy array of integers in c
- C fscanf ignore commas