whats wrong with my code? (for loop)

#include <iostream>
using namespace std;

int main ()
{
// for loop execution
for( int leftDigit = 0; leftDigit < 10; leftDigit++) {
for( int middleDigit = 0; middleDigit < 10; middleDigit++) {
for (int rightDigit = 0; rightDigit < 10; rightDigit++) {
{
cout << leftDigit << " . " << middleDigit << " . " << rightDigit << "n\";
}
}
}
}


return 0;
}


Help pls. thanks.
Last edited on
"n\"
Topic archived. No new replies allowed.