Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A_141117_Primo01
//Title of this code #include <stdio.h> int main(void) { short N; short d; short c; printf("Valor de N ... "); scanf(" %hd", &N); for(c = 0 , d = 2 ; d <= N / 2 && c == 0 ; d++) { if(N % d == 0) { c = 1212; } } if(c == 0) { printf("%hd es PRIMO\n\n", N); } else { printf("%hd es COMPUESTO\n\n", N); } return 0; }
run
|
edit
|
history
|
help
0
If Statement/ Decrement practice
FahrenheitToCelcius
PREGUNTA 3 - MODULO 4 TERMINADA
lol
challoc
Assignment 5 part 2
merge two dice clay to head sport green globe attacked me seven of prime minister fired
String Manipulation
FloatInt
with goto, with j++