diff options
| author | Connor McDowell <[email protected]> | 2024-02-09 16:28:43 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-09 16:28:43 -0800 |
| commit | 3ba2c8f72aafeadfaf3731fc684f428dbf29b957 (patch) | |
| tree | edc98d6a394cb69c3d5e0d9898e7ce1a345991cf /Project1/Functions.cpp | |
| parent | working on loops (diff) | |
| download | homework-4-connormcdowell275-main.tar.xz homework-4-connormcdowell275-main.zip | |
finished up! though considering what is practiced this week, i should've tried to do nesting for loops with "error handling" (its not actually, just a conditional to catch improper inputs) for selections, but expecting correct inputs following the messages would mean using if statements wouldrun smoother.HEADmain
Diffstat (limited to 'Project1/Functions.cpp')
| -rw-r--r-- | Project1/Functions.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Project1/Functions.cpp b/Project1/Functions.cpp deleted file mode 100644 index f31aa9f..0000000 --- a/Project1/Functions.cpp +++ /dev/null @@ -1,33 +0,0 @@ -#include <iostream> -#include "header.h" - -using std::cout; -using std::cin; -using std::endl; - - -void printUser(userDoB newUser) -{ - cout << "User's birthday is: " << newUser.month << "/" << newUser.day << "/" << newUser.year << endl; -} - -userDoB inputPersonal() -{ - userDoB user = {}; - - cout << "\n Please enter just the day you were born as a number: "; - cin >> user.day; - - cout << "\n Please enter the month you were born as a number: "; - cin >> user.month; - - cout << "\n Now please enter the year you were born as a number: "; - cin >> user.month; - return user; -} - -int Fishonacci() { - cout << "test" << endl; - - return 0; -} |