gooooo
#include <iostream>
try it
using namespace std;
i tried
int main() {
int firstTerm, lastTerm, commonDifference;
cin >> firstTerm >> lastTerm >> commonDifference;
gooooo you can do it
int currentTerm = firstTerm;
while (currentTerm <= lastTerm) {
cout << currentTerm << " ";
currentTerm += commonDifference;
}
come on lets go!!!
cout << endl;
return 0;
}