Main.cc: In function 'int main()': Main.cc:6:14: error: expected ';' before 'k' for(int k=a k<=j;k++){ ^