Skip to content
Snippets Groups Projects
Commit 98c41ffc authored by Cecilia Trojani's avatar Cecilia Trojani
Browse files

Merge branch 'Trojani'

parents e94821fa 01ad99c4
Branches master
No related tags found
No related merge requests found
File added
......@@ -9,7 +9,7 @@ void primes(int numbers[]) {
for (i=0; i<TAILLE; i++) {
bool isPrime = true;
int m;
for (m=1; m < numbers[i] ;m++) {
for (m=2; m < numbers[i] ;m++) {
if (numbers[i] % m == 0) {
isPrime = false;
break;
......@@ -28,4 +28,4 @@ int main() {
array[i] = i+3;
primes(array);
}
\ No newline at end of file
}
"Letter", "Frequency", "Percentage"
"A", 24373121, 8.1
"B", 4762938, 1.6
"C", 8982417, 3.0
"D", 10805580, 3.6
"E", 37907119, 12.6
cat data.csv | grep "X" | cut -d , -f 3
script executé
toget 0 → 100644
File added
Ce gars est une flêche
Attention peut-être y-a-t-il un piège ? Avez vous pensé à effacer TOUS les fichier se terminant par .txt ?
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment