Questions tagged as 'while'

2
answers

Exit nested while loops in java

I have the following structure: do{ do{ if(){ } }while(); }while(); All this within a method. If the condition of the if is fulfilled, I want to leave the 2 loops do while, but continue in the function. I tried retu...
asked by 19.12.2017 / 19:59
1
answer

Animated in a while

I am introducing animations and I find something I do not know how to solve it. I'm taking a cycle while doing a loop of col-4 to get some testimonials from the BD with a limit of the last 3. Well, I put the animation in the col-4 so that...
asked by 02.10.2018 / 07:39
2
answers

Repair infinite while loop

I have this program to solve within the resolution I have a loop while infinite and I do not know how to put it, because if I use a break I leave the funcion and I can not continue entering data to my program. It has to b...
asked by 18.05.2018 / 07:35
2
answers

problem with infinite loop

I need to do a program that asks for the sex and age of a number of people (it is supposed to end by putting 'n' in sex) ... and then says how many women and men attended ... in addition to intervals of age (how many men and women of certain age...
asked by 20.05.2018 / 22:42
1
answer

Enter values within Variable python

#!/usr/bin/python # coding=utf-8 import time from selenium import webdriver import xlsxwriter from Data_tags import Inventory_data driver = webdriver.Chrome('/Users/Martin/Desktop/chromedriver') def run(d): login("Usuario", "pass") New...
asked by 09.10.2017 / 23:13
1
answer

How do I add a number to the results of a loop?

Hi, I have a decreasing while loop to which I have to add 3 each time I show an even number, but I can not get it added to me. What am I doing wrong? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <ti...
asked by 04.08.2017 / 23:45
1
answer

create clock and insert it into a table

Hello, I'm looking to make a clock that prints the time, minutes and seconds with a while loop and insert it into a table. I'm new to this, and I do not really know how to do it. I would appreciate very much if they would give me help....
asked by 05.08.2017 / 03:28
1
answer

How can I solve this type of error when testing?

When executing in the console it happens that a "next" error that is hosted in the "while" bounce    java.sql.SQLException: Unable to perform recovery on a   PLSQL statement: next at   oracle.jdbc.driver.OracleResultSetImpl.next (OracleResult...
asked by 29.08.2018 / 07:13
1
answer

How can I make the while work for me?

It does not work directly for me, it does not print anything, I can not find the error. The statement of the program is as follows: Given the grades and names of students in a course, print the names of students whose grade is greater than 7...
asked by 16.08.2018 / 15:05
1
answer

When using two WHILE loops in C, only the first one executes

If I mention one of the two, whatever it is, the other one works, but both at the same time it does not work. #include <stdio.h> #include <stdlib.h> char fichero1; char linea[1024]; int cuenta; char letra; char c; main() { printf(...
asked by 13.06.2018 / 23:59