Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A_141117_Primo02
//Title of this code #include <stdio.h> int main(void) { short N; short d; printf("Valor de N ... "); scanf(" %hd", &N); for(d = 2 ; d <= N / 2 && N % d != 0 ; d++); if(N % d == 0) { printf("%hd es COMPUEST\n\n", N); } else { printf("%hd es PRIMO\n\n", N); } return 0; }
run
|
edit
|
history
|
help
0
variable arguments 2
Exm
C_141210_Tartaglia
pointer example 3
150114_MatrizSumaPerimetro
EXercice
otro avance de pregunta 2
Command Expressions in Gnu C
20171117_TARTAGLIA
Project 3 Part 1 v1.75