Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cooljosh2k2

    Reading input in the format of DDMMYYYY? Help!

    I took what you said salgerman, and added it to my code (after modifying it a tad). But when i try to compile it, i get an error message: -------------- tttt.f90:4: INTEGER:: Day, Month, Year, Century, H, N 1 tttt.f90:23: (continued)...
  2. cooljosh2k2

    Reading input in the format of DDMMYYYY? Help!

    Not really lol. I understand what you are saying, i just dont know how to code it. It took me a while to write the code for part 1. I also dont understand why it has nothing to do with FORTRAN. It has to be coded in FORTRAN. Thanks for helping, btw.
  3. cooljosh2k2

    Reading input in the format of DDMMYYYY? Help!

    There is a part 2 to my assignment that i have no idea how to do. I am to compute the day of the week my birthday fell on (Sunday or 0), and then write a code that will give me the next five years (after 2011) that my birthday falls on the same day of the week (sunday). I understand that im...
  4. cooljosh2k2

    Reading input in the format of DDMMYYYY? Help!

    Thanks salgerman! And to xwb, i thought by adding IF (MOD(H,7) < 0) H = MOD(H,7) + 7 at the end of the code, H will always give a positive number. Havent had a problem with the formula giving a wrong answer yet.
  5. cooljosh2k2

    Reading input in the format of DDMMYYYY? Help!

    In an assignment i have, i am to enter a date in the format DDMMYYYY, and its suppose to compute and display the day of the week that date falls on (based on a given algorithm). I was able to code a program that would give me the right day of the week, however, i was only able to get it to work...

Part and Inventory Search

Back
Top