Computer Science Project c++

vng225
CSCI261ProjectFive.pdf

(CSCI  261)  Project  Five    

Purpose:  

This  project  will  help  the  students  to  reinforce  the  knowledge  from  Chapter  Five  of  the  textbook.  

Objectives:  

1.   Understand  and  apply  top-­‐down  design  concept   2.   Implement  the  functions  according  to  specified  requirements   3.   Test  and  debug  the  functions  

 

Project  Five  is  the  foundation  for  project  5,  which  will  allow  the  user  to  print  out  a  calendar  for  any  given   year.  

Please  read  the  project  7  and  8  (Two  projects  about  calendar  program)  on  pages  301  to  303  of  textbook.   Your  Project  Five  will  implement  and  test  all  the  functions  listed  in  these  two  projects.  These  functions   are  

 

For  any  function  that  the  pre-­‐condition  and  post-­‐condition  are  missing,  the  students  should  add  these   conditions  based  their  understanding  of  the  function.  

The  main  function  is  given  as  following:  

   

 

 

Your  job  is  to  finish  the  implementation  of  all  functions  other  than  main  function.  

Note:  This  project  tells  you  a  way  to  write  functions  and  the  code  that  manually  test  these  functions.  In   the  future,  you  may  write  code  to  automatically  test  the  functions  you  or  other  people  write.  

Due  date  will  be  announced  on  Blackboard.