I am trying to give a shot at Project Euler problem 3 until codeblocks or whatever caused it pissed
me off. This is my code, What is wrong with it? I guess more of a bug?
#include <iostream>
using namespace std;
int main()
{
int x=0;
for(int y=0;y<=10;y++)
{
if(13195%x==0)
{
cout<<"I don't know why the program crashes!";
}
}
}