![]() |
|
#1
|
|||
|
|||
number of hours between 2 dateshi everyone,
i am not been able to calculate the number of hours between 2 dates, but there is a condition that 2 days of the week are off (not working hours i.e. saturday and sunday), so these two days shud not be included. i am a newbie in C language, plz help me with the code. Thanks alot Gaurav |
|||
|
#2
|
||||
|
||||
|
Do you have some pseudo code written up? If you show me the pseudo code, I can help you write the program in C.
__________________
-Aaron |
|
#3
|
||||
|
||||
|
I'll give you a few hints:
And one tip you shouldn't forget: Programming isn't rocket science, but it sure can feel like it if you aren't prepared before you start coding. It's always best to figure out the best way to solve the problem before you start writing code. If you start a program by writing code, you may find it much harder to get started, or you may easily get stuck or lost. ALWAYS PLAN YOUR PROGRAM BEFORE YOU START CODING. __________________
-Aaron |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using an array and finding the element number (subscript) | tommy69 | C Programming Language | 27 | 05-Apr-2004 13:23 |
| Breaking the number into two digits | amir_b | C Programming Language | 3 | 16-Feb-2004 13:28 |
| c: array comparison | jack | C Programming Language | 7 | 26-Jan-2004 12:21 |
| Random() : Make each number onlu appear once | NiXeN | C++ Forum | 3 | 13-Jan-2004 05:47 |
| How to find the last 6 digits of a 8 digit number? | rjd72285 | C++ Forum | 3 | 28-Oct-2003 09:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The