This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#git init | |
git add . | |
git commit -m "first commit" | |
#click to copy the remote repository URL | |
git remote add origin "remote rep URL" | |
git push origin master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//implementation of Sieve of Eratosthenes for prime number generation | |
#include "stdio.h" | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include <string.h> | |
void prime_no_in_range_simple(int start, int end); | |
void prime_no_in_range_sieve(int start, int end); |