Search:

Type: Posts; User: greystreet34

Search: Search took 0.23 seconds.

  1. Creating a Linked List from the contents of a file

    Hi, I'm working on an assignment for programming class where we're supposed to create a method that takes the contents from a text file (one giant string) and stores them piece by piece in a linked...
  2. Replies
    6
    Views
    2,384

    Re: Converting Military Time

    Thanks for the help everyone, and for the information about cross posting. I wasn't sure about the rules for that and if I do continue to post on different forums I'll be sure to link the other...
  3. Replies
    6
    Views
    2,384

    Re: Converting Military Time

    I did, but we never went over any of those classes and I'm trying to figure it out with the tools we learned so far. (this is a first semester Java course).

    --- Update ---

    Ok, I got it to work...
  4. Replies
    6
    Views
    2,384

    Converting Military Time

    Hi, I'm working on an assignment where I have to convert military time to standard time. I think I mostly have it solved except for when the minutes are between 0 and 10. For example,

    909 should...
  5. Replies
    3
    Views
    385

    Re: Counting # of 7's in an integer

    Sorry, the teacher gave us a hint that we might consider using integer division or the modulus operator to separate out each digit of n, then check whether it is a seven. So I'm intending to check...
  6. Replies
    3
    Views
    385

    Counting # of 7's in an integer

    Hi everyone, I'm in an entry level Java class and I'm supposed to be able to count the # of 7's within an integer. I've read the chapters and looked online for help but can't seem to figure it out. ...
  7. Replies
    1
    Views
    284

    While Loop Issue

    Hello everyone. I'm new to Java and I'm trying to check if the user is inputting a word, or a number. We were just introduced to while loops in class and I figured I'd try one out. My program...
Results 1 to 7 of 7