Search:

Type: Posts; User: daniel95

Search: Search took 0.22 seconds.

  1. Replies
    2
    Views
    395

    Array question.

    Is it possible to convert a user inputted 4-digit number such as: '1234' into an array which holds the digits of that number in each index. So for this number it would convert to: [1, 2, 3, 4]. If...
  2. Re: Trouble understanding what this is asking.

    Yes and thank you for that, the only thing I'm having trouble with now is how to accept a user determined amount of numbers. I know how to accept a defined amount of numbers but not an amount that...
  3. Re: Trouble understanding what this is asking.

    It doesn't say anything about that so I'd assume it would just be the number itself.
  4. Re: Trouble understanding what this is asking.

    So since it says to calculate the product of the odd numbers entered, in your example would it just be 5?
  5. Trouble understanding what this is asking.

    I'm having trouble understanding exactly what I'm supposed to do with this problem, if anyone could try to explain it that would be very appreciated. Thanks.

    Problem:
    Write a program that accepts...
  6. How can I produce this output without using the If statement.

    I have to create a calendar for a single month and I'm starting by trying to figure out how to start a new line after every week. However, I'm not aloud to use if statements which sucks because I...
Results 1 to 6 of 6