From 3ba2c8f72aafeadfaf3731fc684f428dbf29b957 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Fri, 9 Feb 2024 16:28:43 -0800 Subject: 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. --- Project1/Functions.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Project1/Functions.cpp (limited to 'Project1/Functions.cpp') 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 -#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; -} -- cgit v1.2.3