Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
consecutive
- Page 1
Consecutive Exam Problem GA
Programming
Software Development
14 Years Ago
by FlippA
… each time a students exams are in
consecutive
time slots. e.g. the example…{ punishment += 5; //--Punishment 5 for each
consecutive
exams. } if (testChromosome.ChromosomeArray.ElementAtOrDefault((j -…
Re: Consecutive Exam Problem GA
Programming
Software Development
14 Years Ago
by Geekitygeek
… punishment += 5; //--Punishment 5 for each
consecutive
exams. } if (schedule.ElementAtOrDefault((j - …//--Punishment 5 for each
consecutive
exams. } } }…
Re: Consecutive Exam Problem GA
Programming
Software Development
14 Years Ago
by FlippA
… it travels through the for loops, I have counted each
consecutive
exam as a punishment of 5+5=10, but I…
Re: Consecutive Exam Problem GA
Programming
Software Development
14 Years Ago
by FlippA
… and over time the punishment is wrong due to the
consecutive
exams function. I hope the code is commented ok and…
finding consecutive integer of odd and even
Programming
Software Development
9 Years Ago
by iceparticle.com
…can anyone clarifies this? I need to find
consecutive
segments that are odd or even. For example …2 6 5 = 2 and 6 = **2**
consecutive
even integers | 1 odd 4 6 8 1 3 = …4, 6, and 8 = **3**
consecutive
even integers | 1 and 3
consecutive
odd integers **2** 1 2 4 5 =… 2 and 4 = **2**
consecutive
even integers | 1 odd 1 3 5 7 2 1…
2D arrays, consecutive bookings
Programming
Software Development
16 Years Ago
by rikkie
…to expand my system to accommodate the reservation of
consecutive
seat numbers. The user is prompted for a row… specified seat, but I'm a little stuck on the
consecutive
bookings [code] #include "stdafx.h" #include …quot;<<endl; cout<<"\t1) Reserve
consecutive
seats"<<endl; cin>>choice; …
Re: 2D arrays, consecutive bookings
Programming
Software Development
16 Years Ago
by VernonDozier
…, make sure that you've made sure that ALL
consecutive
seats are available. Don't check them one by one, …. An example of this is a person asks for three
consecutive
seats in row 2, starting at seat 2. You'll…
Re: finding consecutive integer of odd and even
Programming
Software Development
9 Years Ago
by sanjulovers
… mismatch is found. Use a counter to count no of
consecutive
odds or evens. Then after a mismatch is found, Output…
Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by anandarose
…the last step which is to display the maximum
consecutive
heads and tails that appear in the results from…IF LOOP PRINT tcount; 'PRINT "The maximum number of
consecutive
heads for " flipq; "coin flips is: "…; ;hcount 'PRINT "The maximum number of
consecutive
for " flipq; "coin flips is: " ;tcount…
Re: Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by anandarose
…. It does everything except display the correct maximum
consecutive
head and tail count. I am open to …; h count: ";hcount PRINT "The maximum number of
consecutive
heads for " ; flipq; " coin flips is: …" ;maxhcount PRINT "The maximum number of
consecutive
tails for " ; flipq; " coin flips is: …
Re: Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by Yankie Dave
… because the run will not match last, but will be
consecutive
maxhcount = 0 maxtcount = 0 DO WHILE count <…; h count: ";hcount PRINT "The maximum number of
consecutive
heads for " ; flipq; " coin flips is: …" ;maxhcount PRINT "The maximum number of
consecutive
tails for " ; flipq; " coin flips is: …
Re: 2D arrays, consecutive bookings
Programming
Software Development
16 Years Ago
by rikkie
… the 4th seat in the 2nd row (and requesting 2
consecutive
seats)
Using charAt(i) to compare three consecutive characters
Programming
Software Development
11 Years Ago
by nova4005
… the second part where if it contains at least three
consecutive
1's the program prints "accepted" and if… think I can use charAt(i) to compare the three
consecutive
1's, but I don't know what I can… use to test if there are three
consecutive
1's in the string. Thank you for any help…
Re: Using charAt(i) to compare three consecutive characters
Programming
Software Development
11 Years Ago
by mvmalderen
… think I can use charAt(i) to compare the three
consecutive
1's, but I don't know what I can… use to test if there are three
consecutive
1's in the string. You *could* use [charAt()](http…. To test if your bit String contains at least three
consecutive
ones somewhere in the String, you can use `input.contains…
remove consecutive slashes
Programming
Web Development
14 Years Ago
by aashishn86
i need to write a function to remove
consecutive
slashses from a string i wrote this [code] for( i=… two" + slashtwo) if( slashone == (slashtwo-1)) { alert("Remove
Consecutive
Slashes") // form..focus(); form.NAME.focus(); return false; } // break…
Re: auto-merge consecutive posts
Community Center
Meta DaniWeb
14 Years Ago
by VernonDozier
…/forums/showforum15.htm[/url]) that when I post two
consecutive
posts the forum software will merge them into a single…several different parts to a thread and you have two
consecutive
posts, each dealing with a separate topic and you…that. Or there is a time difference between the two
consecutive
posts. Merging them might make it less obvious. I…
Finding and outputting consecutive 1s
Programming
Software Development
13 Years Ago
by Emred_Skye
…(in_file,3)[/CODE] But I am having trouble finding the
consecutive
numbers as well as outputting it in the right format… not including the first number --> the position), when the
consecutive
1s started and where they ended; if there was three…
Getting Consecutive Words in Flex
Programming
Software Development
12 Years Ago
by QuesoTaco
I am trying to get
consecutive
words in a document using flex. Normally the forward slash should work, but for some reason it is not. Also I need to account for spaces. So I can't seem to use that regex character for this, how do I account for
consecutive
words in flex C++ programming.
Re: string function used to find consecutive character
Programming
Software Development
12 Years Ago
by zeroliken
… loop , if/else statement and a counter to output the
consecutive
character Though if (any) String Function is required at all… index after that(next letter) to know if it is
consecutive
though it is inefficient.[/QUOTE] Note that your going to… and if else statement along with strcmp to find a
consecutive
letter.
Re: homework (with my code) : integer consecutive secuence
Programming
Software Development
14 Years Ago
by phoenix911
…;Please enter a positive number to display the sequences of
consecutive
\nintergers who's sum is equal to that number.\n…) { cout << "This number has no sequences of
consecutive
intergers who's sum is equal to it.\n"…
Re: how to check consecutive dates
Programming
Software Development
12 Years Ago
by imolorhe
… i If con=True Then MsgBox("The dates are
consecutive
!") Else MsgBox("The dates are NOT…
consecutive
!") End If[/CODE] [I]I believe this should do …
Re: how to check consecutive dates
Programming
Software Development
12 Years Ago
by Mitja Bonca
… Then MessageBox.Show("Dates are
consecutive
.") Else MessageBox.Show("Dates are NOT
consecutive
.") End If End Sub Private…
Re: string function used to find consecutive character
Programming
Software Development
12 Years Ago
by myk45
[QUOTE]i dont have idea what string function must be used to find
consecutive
characters . example is the word commit it will output the letter m[/QUOTE] Your question is not clear. What do you mean to say
consecutive
characters? The example you gave does not explain the problem well.
Re: string function used to find consecutive character
Programming
Software Development
12 Years Ago
by zeroliken
Does it really need to be a String function? Because you can use a simple for loop , if/else statement and a counter to output the
consecutive
character Though if (any) String Function is required at all you can use strcmp on each index(a letter) and the index after that(next letter) to know if it is
consecutive
though it is inefficient.
C- Syntax to allocate Global variables to consecutive memory locations
Programming
Software Development
17 Years Ago
by techie82
Hello all I'm a fresher to Microcontroller programming. I have defined certain global variables that I need to store at
consecutive
memory locations, say starting from 0x8000h . Will appreciate if anyone can give me the syntax / instructions to go about the same. thanks techie
Replace consecutive blank spaces with one space.
Programming
Software Development
16 Years Ago
by jadedreality
… to enter a line of text, and if there are
consecutive
blank spaces in the sentence, it will replace those with…
Retrieving duplicate consecutive records.(How to make query for this scenario?)
Programming
Databases
16 Years Ago
by NazishKanwal
… suspect entry of user. but if there are any multiple
consecutive
records of check in or check out, then all those…
Re: Retrieving duplicate consecutive records.(How to make query for this scenario?)
Programming
Databases
16 Years Ago
by NazishKanwal
… suspect entry of user. but if there are any multiple
consecutive
records of check in or check out, then all those…
Decimal Value of the Ratios of Consecutive Fibonacci Numbers
Programming
Software Development
16 Years Ago
by a2008
…). Program computes the first n Fibonacci numbers and ratios of
consecutive
ones. Enter n: 11 ~~~~~~~~~~~~~~~~~~~~~~~~ Fibonacci number Ratio ~~~~~~~~~~~~~~~~~~~~~~~~ 1 1 [B…
Re: Decimal Value of the Ratios of Consecutive Fibonacci Numbers
Programming
Software Development
16 Years Ago
by tesuji
hi a2008 if you divide two
consecutive
Fibonaccis, say F20 / F19 = 6765/4181 = 1.618033963, the ratio converges to the famous golden ratio (1 + sqrt(5))/2 = 1.61803398874989484820458683 . . . krs, cliff
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