BDayDisplay - / { cout <<...

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 &lt;&lt; &quot;Enter your name: &quot;; getline (cin , Name); cout &lt;&lt; endl &lt;&lt; &quot;Enter your Date of Birth in long form separated by space : &quot; ; cin &gt;&gt; MonthName &gt;&gt; Days &gt;&gt; Year; cout &lt;&lt; &quot;##########################&quot; &lt;&lt; endl; cout &lt;&lt; Name &lt;&lt; endl; cout &lt;&lt; MonthName &lt;&lt; &quot; &quot; &lt;&lt; Days &lt;&lt; &quot;,&quot; &lt;&lt; &quot; &quot; &lt;&lt; Year &lt;&lt; endl; cout &lt;&lt; &quot;##########################&quot; &lt;&lt; endl; c } // end of Display function...
View Full Document

Ask a homework question - tutors are online