Questions tagged as 'loop'

1
answer

Loops do not hold values

Hello! I'm trying to develop a simple program that does an automatic accounting calculation, however, the condition within the for (while, do, while, if / else, any) does not keep its values. The repetition is executed 12 ~ 13 times and in all t...
asked by 23.10.2014 / 15:33
1
answer

Adding values to the HashMap Integer, ListInteger, and fetching them through the key?

I'm making an application focused on external vendors. 1 external seller has several customers, and also various products, which is freely marketed with these customers. These products do not always remain in the same value (discounts, taxes, et...
asked by 22.05.2015 / 22:09
2
answers

Loop in javascript does not add object property

follow my code var canvasEvents = new Object; canvasEvents['05-30-2015'] = '<a href="#" target=_blank>CAMPEONATOS SUL-AMERICANOS DE ATLETISMO</a>'; $.getJSON('http://www.atletismope.com.br/eventos/lista', function(...
asked by 15.04.2015 / 16:25
1
answer

XOR operation filtering the values of my list in the DataFrame columns

I have multiple lists and a single dataframe, my goal is to filter my columns containing the same values from my list and create a XOR operation dynamically. When I find my XOR result equal to 0, the line of my result should be deleted. l1 = [...
asked by 15.12.2018 / 18:34
1
answer

Parse txt file and return it in another file - Python [closed]

Good evening! It has a file with numbers, saved in txt format, each number separated by space, there being a list with about 50 values in each line of the txt file (and more than 10,000 lines in the file): 78 34 85 67 96 197 etc. I want to...
asked by 18.07.2018 / 02:12
1
answer

Fixed values and values in javascript looping

The code below creates new input and sends the values to textarea , since the number of input is undefined it was necessary to loop to get the values through name , it works normally if it is only <li>${inp1[i]...
asked by 07.08.2018 / 17:23
2
answers

Error trying to scan an array

I'm trying to scan the array inside the loop, as per the code below: import java.util.Scanner; public class RapidoPora { public static void main(String[] args) { int[] nota = new int[10]; for(int c = 0; c < 11; c+...
asked by 04.03.2018 / 20:32
2
answers

Concatenating items of an Array in a nested loop

I would like to get the items in var a , a two-dimensional Array, and iterate in a nested loop, concatenating everything, to put them in brackets, separated by a slash, as shown by the desired result logo below, which will be stored in...
asked by 22.01.2018 / 02:17
1
answer

How to configure a common java project, host and run on a server [closed]

Oops, good evening, guys, with some questions about java systems running without a server. I and some friends are developing a java integration project (we receive information from a server / service, we treat it in our system and then we pas...
asked by 05.12.2017 / 03:23
1
answer

Repeat loop in ListView

Can anyone help me? In a listview where the data comes from an internet database I can not let it be automatic so that all incoming values are included, the only way is to add one by one, but when it is a list of clients it can increase and the...
asked by 25.11.2017 / 04:39