Click here to Skip to main content
15,891,033 members

Comments by Wagner (Top 8 by date)

Wagner 11-Feb-18 17:09pm View    
Could you give an example? What do you mean by count elements?
Wagner 11-Feb-18 16:52pm View    
I think i understand how to specify number of lines now, but if we go with my example in the original comment, how can i print which of the lines of numbers that has the largest sum if we attribute one line to a person named John and the other to a person named Sara? I'm not sure what approach to use.
Wagner 11-Feb-18 16:18pm View    
That's not really what i want though, don't know if you understood my question. First input is the number of lines i want to write. For example if i write "2" i want to input two lines of code before i get an output. So after i type "2" i want to write 4 numbers in one line and then again 4 numbers in another line and output which of the lines has the biggest sum, if that makes sense.
Wagner 21-Dec-17 9:44am View    
It's not that there's misspellings, i've just changed the names of the Id:s specifically for this question and forgot to change in all pages, but it still begs the question, why isn't the answer getting displayed?? There's no misspellings in the original code i have on my project.
Wagner 20-Dec-17 16:25pm View    
How do i do that?