here is the code, I was trying to print the nth tiangular number. but it says triangle identifier not found.
#include using namespace std;