/*---- signature: main: void -> int purpose: testing program for the function print_nums by: Sharon Tuttle last modified: 2022-09-13 ----*/ #include <cstdlib> #include <iostream> #include <string> #include <cmath> #include "print_nums.h" using namespace std; int main() { cout << boolalpha; int worm_sizes[3] = {2, 7, 1}; cout << "Test succeeds if you see 2, 7, 1 " << endl << " each on its own line: " << endl; print_nums(worm_sizes, 3); int food_quants[4] = {10, 4, 7, 38}; cout << "Test succeeds if you see 10, 4, 7, 38 " << endl << " each on its own line: " << endl; print_nums(food_quants, 4); return EXIT_SUCCESS; }