aboutsummaryrefslogtreecommitdiff
path: root/03_threads/native.c
blob: 4a3d4fa8f5fba135710e6a4f32988ddeae71d6ac (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

int primes_in_range(int, int);

int main() {
	int low = 1;
	int high = 10000000;
	int result = primes_in_range(low, high);
	printf("There are %d primes between %d and %d\n", result, low, high);
}

Generated with cgit - Back to sebastiano.tronto.net