MGriffin_hw4_3 - Documentation Name Created April 1 2008...

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Documentation Name: Created: April 1 2008 Start GET firstName GET lastName FALSE IF firstNam e is blank TRUE DISPLAY "You left FIRST Name blank, the procedure will terminate" FALSE IF firstNam e is numberi c TRUE FALSE IF lastNam e is blank TRUE DISPLAY "You entered a number for FIRST Name, the procedure will terminate" FALSE IF lastNam e is numberi c DISPLAY "You left LAST Name blank, the procedure will terminate" TRUE DISPLAY "You entered a number for LAST Name, the procedure will terminate" A A WRITE firstName to storage WRITE firstName to storage A WRITE lastName to storage A A Stop BEGIN nameValidation GET firstName GET last Name IF firstName is blank THEN DISPLAY "You left FIRST Name blank, the procedure will terminate" ELSEIF firstName is numberic THEN DISPLAY "You entered a number for FIRST Name, the procedure will ELSEIF lastName is blank THEN DISPLAY "You left LAST Name blank, the procedure will terminate" ELSEIF lastName is numeric THEN DISPLAY "You entered a number for LAST Name, the procedure will ELSE WRITE firstName to storage WRITE lastName to storage ENDIF END TRUE DISPLAY "You left FIRST Name blank, the procedure will terminate" LAY "You d a number RST Name, cedure will minate" A A procedure will terminate" Name, the procedure will terminate" rocedure will terminate" Name, the procedure will terminate" Start READ input file separate month and date FALSE december ? month month= "february" month= "march" month= "april" month= "may" month= "june" Start BEGIN READ input file separate month and date december ? TRU E year= year+1 READ input file Separate month and date IF month= december THE Calculate year= yea ENDIF CASE month "january": month= "february" "february": month= "march" "march": month= "april" "april": month= "may" "may": month= "june" "june": month= "july" "july": month= "august" "august": month= "september "september": month= "octobe "october": month= "november "november": month= "decemb "december": month= "january ENDCASE Concatinate month and y Add new worksheet to pre END month= "june" month= "july" month= "august" month= "september" month= "october" month= "november" concatinate month and year add new worksheet to previous worksheet Stop READ input file Separate month and date IF month= december THEN Calculate year= year + 1 ENDIF CASE month uary": month= "february" ruary": month= "march" rch": month= "april" il": month= "may" y": month= "june" e": month= "july" ": month= "august" gust": month= "september" tember": month= "october" ober": month= "november" vember": month= "december " ember": month= "january" ENDCASE Concatinate month and year Add new worksheet to previous worksheet month= november" month= "december" month= "january"...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern