Find the C++ code

Reply

Join Date: Jul 2008
Posts: 1
Reputation: mrinmay is an unknown quantity at this point 
Solved Threads: 0
mrinmay mrinmay is offline Offline
Newbie Poster

Find the C++ code

 
-1
  #1
Jul 4th, 2008
Write a c++ program to enter an initial date and final date and print the number of fridays(13th) in between the range.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 280
Reputation: joshmo is an unknown quantity at this point 
Solved Threads: 19
joshmo joshmo is offline Offline
Posting Whiz in Training

Re: Find the C++ code

 
0
  #2
Jul 4th, 2008
Uhuh..
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 3,317
Reputation: Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute 
Solved Threads: 337
Moderator
Featured Poster
Nick Evan's Avatar
Nick Evan Nick Evan is offline Offline
Cenosillicaphobiac

Re: Find the C++ code

 
1
  #3
Jul 4th, 2008
No.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 6,605
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 854
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Find the C++ code

 
0
  #4
Jul 4th, 2008
OK, done it!
The answer I got was 42 by the way...

I could post the code, but there's no way you'd convince your tutor that it was YOUR homework answer!
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
--
If your code lacks code tags, you will be IGNORED
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 978 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC