This is the first of many in a series of developer coding interview challenges I will be starting for the benefit of graduate IT/developers and those trying to get their first break as a developer or software engineer. Many of us crack and/or get ner...

Markdown supported · ⌘↵ to post
```#include <iostream>
using namespace std;
int main() { int sum{}; for(int i{};i<1000;i++){ if(i%3==0 || i%5==0 || i%12==0) sum+=i; } cout<<sum; return 0; } ```
#include <iostream>
using namespace std;
int main() { int sum{}; for(int i{};i<1000;i++){ if(i%3==0 || i%5==0 || i%12==0) sum+=i; } cout<<sum; return 0; }
#include <iostream>
using namespace std;
int main() { int sum{}; for(int i{};i<1000;i++){ if(i%3==0 || i%5==0 || i%12==0) sum+=i; } cout<<sum; return 0; }
Sithembiso Nkosi
IT DEV
'''private static void Main(string[] args) { int total = 0; for(int i = 0; i<1000; i++) { if(i%3==0 || i%5==0) { total = total+i; }
} Console.WriteLine("Answer:" + total);
}'''