did this not have indentation?

huh?
This commit is contained in:
ilikecats 2024-07-06 00:08:41 +00:00
parent f25e7f8be6
commit 350d511cc6

View File

@ -1,4 +1,3 @@
// Generate primes using the sieve of eratosthenes // Generate primes using the sieve of eratosthenes
#include <iostream> #include <iostream>
#include <vector> #include <vector>
@ -15,8 +14,8 @@ int main() {
notprime = false; notprime = false;
for (unsigned int i=0;i<primes.size();++i) { for (unsigned int i=0;i<primes.size();++i) {
if (nextnumber % primes[i] == 0) { if (nextnumber % primes[i] == 0) {
notprime = true; notprime = true;
break; break;
} }
} }
if (!notprime) { if (!notprime) {