Day 06 of 100 days of code: Completed all patterns questions

Day 06 of 100 days of code: Completed all patterns questions

Completed the 22 pattern questions from the Strivers list. It helped me understand loops better as well as explore strings.

I had the most fun solving this question

void alphaTriangle(int n) {

    for(int i = 0; i<n; i++){
        int start = 65+(n-1);
        for(int j = 0; j<=i; j++){
            cout << char(start)<<" ";
            start--;
        }
        cout<<endl;

    }
}

Here is my Coding ninjas profile: https://www.naukri.com/code360/profile/caroldsillva