aboutsummaryrefslogtreecommitdiff
path: root/Project1/program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/program.cpp')
-rw-r--r--Project1/program.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/Project1/program.cpp b/Project1/program.cpp
index 174cbf2..7646bad 100644
--- a/Project1/program.cpp
+++ b/Project1/program.cpp
@@ -11,11 +11,7 @@ using std::cin;
using std::endl;
// user info from lecture
-struct userDoB {
- int month;
- int day;
- int year;
-};
+
void main()
@@ -24,23 +20,3 @@ void main()
}
-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;
-}