// Name: Connor McDowell // date: 2/9/2024 // class: CST116 // assignment: Assignment 4 (homework) #include #include "header.h" using std::cout; using std::cin; using std::endl; void print100() { int i = 0; while (i < 101) { cout << i << " "; i++; } } int main() { int i = 1; while (i == 1) { int t = 0; cout << "Hello and welcome to the selection menu for Connor McDowell's CST116 homework assignment number 4" << endl; cout << "Please enter a number from the selection below" << endl; cout << "1: Print all integers from 0 to 100" << endl; cout << "2: Input date of birth" << endl; cout << "3: print the Fibonacci sequence up to an inputted term" << endl; cout << "4: Exit the program" << endl; cout << "Else will re-print this message!" << endl; cin >> t; if (t == 4) { i = 0; } if (t != 1, 2, 3, 4) { int main(); } if (t == 1) { void print100(); } if (t == 2) { int y; userDoB inputPersonal(); cout << "would you like to print your birthday? enter 1 for yes" << endl; cin >> y; if (y == 1) { void printUser(); } else { continue; } } if (t == 3) { int Fishonacci(); } } //userDoB newUser = inputPersonal(); }