Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
C_141113_Primos02
//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("COMPUESTO\n\n"); } else { printf("PRIMO\n\n"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
asasas
Rationale Zahlen
Char data type.c
8 trajo semal 4
WAP in C to print the reverse of a string
Sheldon 9 area none aliens as aliens and farms Lockheed Kelly and lame lead district 9
open(): No such file or directory
fibonacci1
Memory leak
Swiss Infotech Tutorial
stackse - search stackoverflow differently
Please log in to post a comment.