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:
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
ASP.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >
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.
Member
329 Points
744 Posts
Get all possible numbers rows between two numbers
Mar 13, 2021 06:00 PM|msimo|LINK
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
Participant
1660 Points
952 Posts
Re: Get all possible numbers rows between two numbers
Mar 15, 2021 05:23 AM|PaulTheSmith|LINK
For your example, what result do you want? And please explain why it is the result
Contributor
2370 Points
743 Posts
Re: Get all possible numbers rows between two numbers
Mar 15, 2021 05:50 AM|XuDong Peng|LINK
Hi msimo,
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
All-Star
48710 Points
18179 Posts
Re: Get all possible numbers rows between two numbers
Mar 15, 2021 09:01 AM|PatriceSc|LINK
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.