Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
18BCE2182 ASSESS_3 Q3
The endless numbers.
Name pipe
bitwise operations
My first reevers C 2darryp
Test 2
array and its sum
C Structs Example
Area of the Cone
C list