aboutsummaryrefslogtreecommitdiff
path: root/Project1/Functions.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-09 16:28:43 -0800
committerConnor McDowell <[email protected]>2024-02-09 16:28:43 -0800
commit3ba2c8f72aafeadfaf3731fc684f428dbf29b957 (patch)
treeedc98d6a394cb69c3d5e0d9898e7ce1a345991cf /Project1/Functions.cpp
parentworking on loops (diff)
downloadhomework-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.cpp33
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;
-}