Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Even odd program
//gcc 5.4.0 #include <stdio.h> int main(void) { int n; printf("Enter a number n \n"); scanf("%d",&n); if(n%2==0) printf("The number %d is even", n); else printf("The number %d is odd", n); return 0; }
run
|
edit
|
history
|
help
0
1
---DISEÑO DE TECLADO---
scanf and integer manipulation
18BCE2182 ASSESS_1 Q1-5
Undefined behavior
EL PANGRAMA PERFECTO
Warnings
c union bytes affected
18BCE2182 ASSESS_1 Q1-8
c program for hollow rhombus