Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
loops
- Page 1
Re: how to create a simple elevator simulation?
Programming
Software Development
3 Days Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use
loops
and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
Re: Help with functions - basics
Programming
1 Month Ago
by jkon
It seems that the issue has nothing to do with C++ or with functions. If you are new to programming why not try some tutorials in an easy accessible language (like JavaScript for example) and when you understand a few basics ( like null , functions , variables ,
loops
, conditions ) move to a C++ tutorial for beginners ?
Loops
Programming
Software Development
20 Years Ago
by Dani
…font] [/indent]Accumulators are often used in conjunction with
loops
. Accumulators are variables which are continuously added to throughout … be shown to the professor. [b]For
Loops
[/b] For
loops
can be considered a more specific form of… directly to that of a mathematical summation. For
loops
involve a built-in accumulator variable which can be…
loops
Programming
Software Development
12 Years Ago
by dgar
… the knowledge of handling questions of such Creation.kindly use
loops
when coding... 1.Create a Java file named Lab3_1.java… should not keep checking for additional divisors 2. Use nested
loops
to print out each of the following patterns. Create a…
Re: loops
Programming
Software Development
17 Years Ago
by bommavj
[quote=ThUgLoRd;263155]ok i just started
loops
in my java class and im stuck on getting this …]97, 84, 72, 61, 51, ... 1[/B][/I][/quote] class
Loops
{ public static void main(String[] args) { for(int i=97…
loops
Programming
Software Development
17 Years Ago
by ThUgLoRd
ok i just started
loops
in my java class and im stuck on getting this loop working i dunno what all math to do to get these numbers for the output [I][B]97, 84, 72, 61, 51, ... 1[/B][/I]
Loops
Programming
Web Development
16 Years Ago
by dudegio
Hello everyone! I have a problem having
loops
in Php. The process is, it will take all the …
loops
Programming
Software Development
16 Years Ago
by tootypegs
My query is as follows. I have a file that is 16384 bytes in size. However i would like to break this down into 512 chunks of 32 bytes each. I am familaiar with straight forward
loops
but is there a way to initialise a loop to run for the entire 16384 bytes but somehow run for 32 bytes at a time if that makes sense thanks
loops
Programming
Software Development
12 Years Ago
by hussain shabbir
somebody pleae post some basic C++ excersices of
loops
.please help me i am a beginner. thANKSS
loops
Programming
Software Development
10 Years Ago
by Ndey yassin
Create a class called PrintStars. In the main method, use nested-for
loops
to print 2 diagonal lines of stars accross a 9x9 grid.
Re: Loops in Python
Programming
Software Development
17 Years Ago
by vegaseat
The "for loop"
loops
(iterates) through the items of a sequence (string, list, tuple,…, set ...). The "while loop"
loops
until a condition is met. Though the two
loops
are different beasts, they can overlap…;I should not cuss!" [/code]Yes, there are other
loops
in Python. For instance a recursive function (a function that…
Re: loops algorithm mistake?
Programming
Software Development
13 Years Ago
by NewOrder
… if you look at valid 1. it has that 2
loops
. say valid2 is wrong, and i cant debug it. still… pluses in some places in the
loops
. Thats all. i copied and pasted the same
loops
3 times. when the method gets… row and column variables it decides which one of the
loops
to use (more accurately, it is the type of if…
Loops and creating a triangle with #'s
Programming
Software Development
16 Years Ago
by chubbs1900
… self teach C++ and I am to the point of
loops
. Now I was working on how to create a triangle… with manipulating nested
loops
to create a triangle with numbers. Here is the code…
loops with continue
Programming
Software Development
11 Years Ago
by poloblue
…, I'm having problems with this assignment that deals with
loops
that implements the continue statement. Can someone check the…
loops
that I have implemented on Part B and Part C …
Re: Loops in Python
Programming
Software Development
17 Years Ago
by jrcagle
… that purpose. Almost looks like a limited goto! With the
loops
there is also continue, break and else. Why and how… loop to execute at least once. [b]else[/b] with
loops
is mostly silly, AFAIK. Any code after the while or…
Re: Loops in Python
Programming
Software Development
17 Years Ago
by fireworks-style
Hi,
Loops
are particularly useful for vocabualry. The limits are endless and I use
Loops
to distinguish between consonants and vowles. Regards.
Re: Loops and creating a triangle with #'s
Programming
Software Development
16 Years Ago
by chubbs1900
… concept because the book i have reads the chapter in
loops
bigger than any other chapter int he book.. Then i…
Re: Loops and creating a triangle with #'s
Programming
Software Development
14 Years Ago
by kvprajapati
chubbs1900>I am trying to self teach C++ and I am to the point of
loops
. ... adatapost>Tryout. [CODE] 1. 1 1 1 1 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 1 1 1 1 1 1 2. 1 0 0 0 1 0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 3. 1 2 4 3 5 7 9 10 8 6 11 13 15 17 18 16 14 12 [/CODE]
Loops in Sql Server Triggers and Stored Procedures
Programming
Web Development
18 Years Ago
by web developer
… same values the group taked. [/list] [list]So , I need
Loops
very much to loop in the [COLOR=Green]user_tbl [/COLOR…
Loops in Python
Programming
Software Development
17 Years Ago
by sneekula
When do you use a for loop and when to use a while loop. Are there other loop types in Python? Some of the slicing examples almost look like
loops
.
Re: Loops in Python
Programming
Software Development
17 Years Ago
by Mouche
for
loops
are specifically helpful for going through a string or list …
Re: Loops in Python
Programming
Software Development
17 Years Ago
by Zonr_0
For and While
loops
serve different functions, you can actually make a For loop …
Re: Loops in Python
Programming
Software Development
17 Years Ago
by sneekula
I think I am getting a feeling in which case to use 'for' or 'while'. Never looked at a recursive fuction as a loop, but I guess it is and can be used for that purpose. Almost looks like a limited goto! With the
loops
there is also continue, break and else. Why and how are they used in a loop?
Loops and Functions in C, please help ! Triangle generator
Programming
Software Development
17 Years Ago
by 80s
… pattern when entering in a number. It uses nested For
loops
. I now want to create the same thing using functions…
Re: Loops and Functions in C, please help ! Triangle generator
Programming
Software Development
17 Years Ago
by WaltP
… pattern when entering in a number. It uses nested For
loops
. I now want to create the same thing using functions…
Re: Loops and Functions in C, please help ! Triangle generator
Programming
Software Development
17 Years Ago
by ~s.o.s~
… had previously written assuming it was // working. Run two for
loops
. }[/code] In case of more doubts, repost if necessary.
Re: Loops and Functions in C, please help ! Triangle generator
Programming
Software Development
17 Years Ago
by Nick Evan
Yah, that's exactly what I said... @80s: please reread my previous post carefully. Inside your function, you should use nested
loops
: an outerloop for rows and an innerloop for printing stars. Regards Niek
Re: Loops and Functions in C, please help ! Triangle generator
Programming
Software Development
17 Years Ago
by Aia
… pattern when entering * in a number. It uses nested For
loops
." * */ [/COLOR] [COLOR=Magenta] #include <stdio.h> [/COLOR…
loops and parameters?
Programming
Software Development
14 Years Ago
by jaison2
… to use the loop in this. I have only done
loops
once til nw and i tried using that code for…
loops algorithm mistake?
Programming
Software Development
13 Years Ago
by NewOrder
… that there is some failure.. i dont know why. the
loops
are inside a method i am calling from the main…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC