BDayDisplay - cout<<"Enter your name"...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// file: BDayDisplay.cpp // author: j. dzuback // modified: // date: // Program BDayDisplay is a program shell with a function. / #include <iostream> #include <string> using namespace std; u void Display(); v // Fill In the documentation! string Name; string MonthName; int Days; int Year; int main () { Display(); return 0; } // end of main } //************************************** / void Display() // FILL IN the documentation! // Precondition: // Post Condition:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: / { cout << "Enter your name: "; getline (cin , Name); cout << endl << "Enter your Date of Birth in long form separated by space : " ; cin >> MonthName >> Days >> Year; cout << "##########################" << endl; cout << Name << endl; cout << MonthName << " " << Days << "," << " " << Year << endl; cout << "##########################" << endl; c } // end of Display function...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online