/*--- FIRST VERSION: for an "all-in-one-file" C++ program COPY this into a .cpp file in a folder within the CS50 IDE to compile: in a CS50 terminal that is open to the folder CONTAINING this .cpp file, type: g++ your-file-name.cpp -o your-file-name to run: in that same CS50 terminal that is open to the folder CONTAINING this .cpp file, type: ./your-file-name to redirect the program's output to a .txt file: in the same CS50 terminal that is open to the folder CONTAINING this .cpp file, type: ./your-file-name > desired-output-file.txt last modified: 2024-10-16 ---*/ /*--- by: last modified: ---*/ #include <cstdlib> #include <iostream> #include <string> #include <cmath> using namespace std; /*--- PUT YOUR SIGNATURES, PURPOSES, TESTS, and FUNCTION DEFINITIONS HERE ---*/ /*--- test the functions above ---*/ int main() { cout << boolalpha; cout << "*** Testing: put name of your function here ***" << endl; // put each of your function's tests into a cout statement // to print its result // cout << () << endl; // cout << () << endl; return EXIT_SUCCESS; }