Skip to content

Instantly share code, notes, and snippets.

View azurras's full-sized avatar
🎯
Focusing

azurras

🎯
Focusing
View GitHub Profile
#include <stdio.h>
int main() {
for(int i=1; i=i; i++) {
int is_prime = 1;
for(int j=1; j<i; j++) {
if(i % j == 0 && j != i && j != 1) {
is_prime = 0;
}
}