Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Nerathas

Hello, I am trying to write a algoritm that calculates the second largest divisor of a number. But i have absolutely no idea what calculations are required for this. [CODE] for (ulong i = 1; i < Number; i++) { Number = .....? }[/CODE] Already know the largest common diviser …

Member Avatar for ddanbe
0
2K
Member Avatar for Nerathas

Greetings, I have a array filled up with random value's (being positive and negative). What i wanne do is have a recursive version that counts -only- counts the postive values in that array. Recu version that counts all the elements (that works but is not quite yet what i seek) …

Member Avatar for apegram
0
110
Member Avatar for Nerathas

Hello, In a method i am calculating the longest row of elements. The 1-dim array is filled up with random values (0 or 1). The method looks up the longest row (being 0 or 1, whatever is the longest). Meaning in for example: 1110100 --> the longest row would be …

Member Avatar for Sodabread
0
132
Member Avatar for Nerathas

Hello, In the following code below i have 1 method that fills a array with 11 random value's.(wich works as intended). My question is how do i take each generated random value created in the array, and perform a calculation with each of those values? (preffered in a new method). …

Member Avatar for ddanbe
0
179
Member Avatar for Nerathas

Hello, I have writted a prog that generates the values & triangleOf Pascale. But the thing i cannot seem to find, is[B] how to get rid of the Console.Writlines in the middle of my code[/B] (where the values get calculated). I am using a 1 dimensional array for this insteed …

Member Avatar for ddanbe
0
112
Member Avatar for Nerathas

Hello, Lets assume we have the amount 110,11 euro. The used money bills are 500, 200, 100, 50, 20 10, 5, 2 , 1, 0.50, 0.20, 0.10, 0.05, 0.01. So this amount would give on the console screen 1 x 100 1 x 10 1 x 0.10 1 x 0.01 …

Member Avatar for ddanbe
0
118
Member Avatar for Nerathas

Hi, I am trying to write a loop that lists all the square results until the number given in. So for example if i would give in 100 it would list the squares in a list wich would be 1, 4, 9, 16 etc... The problem is i if i …

Member Avatar for Geekitygeek
0
105
Member Avatar for Nerathas

Hello, I have this program that simplifies a fraction by calculating the greatest common divisor. So the fraction 8/4 (largest common divisor = 4) 8/4 4/4 => result would be 2/1 (fraction simplified) My problem is my method calculated this greatest common divisor. But now that value has to be …

Member Avatar for ddanbe
0
159
Member Avatar for Nerathas

Hello, [I] I have written a console version of a program that has 1 menu (5 possible choices). Then after selecting one, it goes into a second screen where you enter the values and eventuelly the calculation takes place. Now i want the exact same program in a Windows Form …

Member Avatar for Nerathas
0
122