Printing it somewhat backwards is a bit tricky. The inner for loop can not start at zero like you have, but at "word.size() - 1". Then this has to change each time through the outer for loop. This can be done either in the outer for loop condition or at the bottom of the outer for loop.
I have tested this and it works:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
std::string word = "computer";
int start{};
if (word == "computer")
{
start = word.size();
start--; // <--- equals word length - 1.
for (int i = 0; i < word.length(); i++, start--)
{
for (int j = start; j < word.size(); j++)
{
std::cout << word[j]; // printing triangle to console
}
std::cout << "\n";
//start--;
}
}