Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Primo compuesto
//Title of this code //gcc 4.9.1 #include <stdio.h> int main(void) { short a, i,A=0; a=2; for (i=1; i<=a; i++){ if(a%i==0){ A++; } } if(A>2){ printf("Es compuesto"); } else{ printf("Es primo"); } return 0; }
run
|
edit
|
history
|
help
0
Lp
HeapSort
C_14119_Media
test
#Define / Case/ If practice
Array pass effect
String operations in C (without using built-in methods)
Project 3 Part 1 v1.75
888 BONUS LAB 1
gets.c