Help me in solving LCPPCL115A problem

My issue

solve

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
    int a=5; //Initialization
    
    while(a < 21/*condition*/____){
        cout<<i<<endl;
    a = a + 1     //Update statement
    }
}

Learning course: ATT - C++
Problem Link: Print Numbers 5 - 20 Practice Problem in ATT - C++ - CodeChef

#include <bits/stdc++.h>
using namespace std;

int main() {
    int a=5; //Initialization
    
    while(a < 21){
        cout<<a<<endl;
    a = a + 1;     //Update statement
    }
}

you did a bunch of things wrong. such as not putting semi-colon and basic syntax error. also used i instead of a while printing it on console.