diff --git a/cpp/switchchain_exponent.cpp b/cpp/switchchain_exponent.cpp index 5510c28bcd1021e4233b79d864c5b07f245f4b88..303d3baf0b2abff5292923a39d792bd4635726bb 100644 --- a/cpp/switchchain_exponent.cpp +++ b/cpp/switchchain_exponent.cpp @@ -121,6 +121,6 @@ int main(int argc, char* argv[]) { } } } - outfile << ',' << '}'; + outfile << '\n' << '}'; return 0; }