Bughunt #7- Even More loops

Difficulty: Very Easy
Time to solve: 1-2 min
Video this is covered in: 1-20

#include <iostream>

using namespace std;
int main(){
    int i=0;
    for (i=0; i<100; i++){
        cout << i;
        if ((i % 25)==0){
    cout <<endl << endl;
    for(int j=0; j<10; j++){
        cout<< j+i;
    cout <<"The ending values for i and j are: i="<< i <<" and j=" << j;
return 0;

Error MessageTesting.cpp:16: error: name lookup of `j’ changed for new ISO `for’ scoping
Testing.cpp:13: error: using obsolete binding at `j’