Skip to content

Instantly share code, notes, and snippets.

View pedro-m-g's full-sized avatar

Pedro Martín del Campo González pedro-m-g

View GitHub Profile
@pedro-m-g
pedro-m-g / primes.c
Created January 14, 2018 02:39
Print prime numbers
#include <stdio.h>
#include <stdbool.h>
void printAllPrimes(int, int);
int main()
{
int lower, higher;
printf("Lower: ");