Questions tagged as 'bucles'

0
answers

fsolve within two loops (Matlab)

I am trying to solve a system of non-linear equations in matlab. At first I tried with the solve and it did not work out. Now I'm trying with fsolve and it gives me incoherent results, in addition to stop in the second iteration. I pass the code...
asked by 28.04.2018 / 11:51
2
answers

Problem with do..while cycle that is not repeated properly

I have developed this program and it works well, however it does not coordinate the cycle Do...While That is, I need that once given (the number inverted), I continue to print the same question, in order to keep repeating the cycle, unti...
asked by 22.04.2018 / 22:51
1
answer

how can I create a grid from a while loop

I need to create a grid of 8 elements with the name of the items, the quantity and the price with random numbers, I have done this, but I do not know how to use the while loop to form the grid. <table> <tr><td>Nombre</td&g...
asked by 15.04.2018 / 23:50
1
answer

Error no-restricted-syntax iterators / generator on Eslint Airbnb

I'm testing Eslint using the Airbn style guides, I use the airbnb-base package My doubt arises from this error in a loop for..of error: no-restricted-syntax - iterator/generator In the documentation says:    Do not use iter...
asked by 06.04.2018 / 22:32
1
answer

Thread, listbox and an infinite loop [closed]

I try to make a windows desktop application in C # and what I'm trying to do is have a button that activates a thread that shows an infinite loop in a listbox that can be stopped with another button, I'm new to threads so I do not know how to st...
asked by 16.07.2018 / 21:52
1
answer

How do you solve this exercise without using a loop?

We want to make a row of bricks that have long goal inches. We have a number of small bricks (1 inch each) and large bricks (5 inches each). Go back True if it is possible to make the goal by choosing between the given bricks. Function: def...
asked by 13.11.2018 / 02:47
1
answer

how to multiply a string by the times a variable in Swift tells me

Hello, what happens is that I do not understand how to multiply a string by the number of times a variable tells me and store it in a function, I explain 6 is the number of times it has to be repeated and a! It is the string as I do so that it s...
asked by 02.06.2018 / 20:35
1
answer

Fibonacci Cycles

the first one is this: / Determine how much is the sum of the elements of the fibonacci series between 0 and 100 / #include<iostream> using namespace std; int main() { int i,numero,x,y,z; numero = 11; x = 1; y = 1;...
asked by 02.01.2019 / 18:18