Stroustrup - Programming - Principles and Practice C++ (2nd) - TRY THIS - Sec 4.4.2.3 - For loops : The question asks: Rewrite the character value example from the previous Try this to use a for-statement.

With that being said, what I wrote for the previous question was the following which runs fine as well:

    #include "pch.h"
    #include "iostream"
    #include "string"
    #include "vector" 
    #include "algorithm"
    #include "cmath"

    using namespace std;

    int main()
    {
	    char letter = 'a';
	    int i = 97;

	    while (i < 123) {
		    cout << letter << '\t' << i << '\n';
		    i = i + 1;
		    letter = letter + 1;

	}


Here is what I attempted for the current question:

    int main()
    {
	    for ((int i = 97; i < 123; i = i+1; char letter = 'a';  i = i + 1, 
        letter = letter + 1)
		
        cout << letter << '\t' << i << '\n';
    }

In essence what I had gathered from the example was that the difference between the two types of statements was including the control variables and statements within the parentheses of the FOR loop. What is it that I am doing wrong?