locked
Get all possible numbers rows between two numbers RRS feed

  • Question

  • User-464009799 posted

    Hi

    Any one can help me please by writing C# or javascript code to print all possible numbers between two numbers which are (1-70)  were each line contain 8 numbers as below, ex:

    4, 14, 22, 34, 38, 45, 50, 56

    Many thanks

    Saturday, March 13, 2021 6:00 PM

All replies

  • User303363814 posted

    For your example, what result do you want?  And please explain why it is the result

    Monday, March 15, 2021 5:23 AM
  • User-939850651 posted

    Hi msimo,

    Any one can help me please by writing C# or javascript code to print all possible numbers between two numbers which are (1-70)  were each line contain 8 numbers as below, ex:

    If you only need to get the data in a range, you can achieve your requirements by using simple loop code ( something like for loop ), and according to the example you provided, do you need an unordered result? Or something else?

    If possible, could you provided more details?

    Best regards,

    Xudong Peng

    Monday, March 15, 2021 5:50 AM
  • User753101303 posted

    Hi,

    What means exactly that a "line contains 8 numbers"? This is real world problem or some homework?

    For now my understanding is that you want to find which values between 1 and 70 can be divided by at least one number from this list or maybe is the addition of numbers found in this list????

    Keep in mind we have no other context than what you told us.

    Monday, March 15, 2021 9:01 AM