Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
heads-up
- Page 1
Re: Is Coding About Authoring or Achieving a Specification?
Programming
2 Months Ago
by Reverend Jim
… between design and programming? Some professionals get stuck in their
heads
. For example, too many surgeons feel that surgery is the…
Re: 3 word story
Community Center
Geeks' Lounge
19 Years Ago
by nanosani
heads
with their
Yahoo Mail Open—then Closed—to Hackers
Hardware and Software
Networking
15 Years Ago
by EddieC
Heads
up users of Yahoo Mail. A cross-site scripting vulnerability …
Re: Plugging a new Cat5e cable into WRT54GS v1 seems to break it
Hardware and Software
Networking
17 Years Ago
by cbemerine
Heads
up...Brighthouse / Road Runner has changed something with their DNS / …
Re: Vectors aren't initializing in fillarrays function
Programming
Software Development
14 Years Ago
by Avatar99
*
heads
desk* Thank you for that very easy solution I should have thought of it.
Re: Game of Life
Programming
Software Development
14 Years Ago
by NitaB
**
heads
back to code** Your logic makes sense to me...lets see what happens. Be back in a few. Thanks!
Re: 1 word story
Community Center
Geeks' Lounge
13 Years Ago
by jib
(
heads
up people>>!) time of inventing the silicion
Re: Get dll location with javascript
Programming
Web Development
10 Years Ago
by Troy III
Heads
up, this thread appears in "Code Snippets" directory, -it shouldn't!
Heads and Tails Game
Programming
Software Development
13 Years Ago
by aree
… guess what side a coin is going to fall on,
heads
or tails. I feel like I am very close to…; a < no_of_plays; a++) { cout << "Call it,
Heads
or Tails?" << endl; cout << "…;h for
heads
t for tails" << endl; cin >>…
Re: Heads and Tails Game
Programming
Software Development
13 Years Ago
by daviddoria
…a < no_of_plays; a++) { cout << "Call it,
Heads
or Tails?" << endl; cout << "…= 't'; } if (random_integer == 0) { cout << "Coin was
heads
" << endl; randomCoin = 'h'; } if (guess == randomCoin) { …
Re: heads or tails
Programming
Software Development
15 Years Ago
by Aia
If I am making
heads
or tails of what you're saying what you want it is called permutation. There's lots of algorithms out there for it. Use you favorite search engine.
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 the coin…code that I have so far: [code] '10/11/2006 '
Heads
or tails program INPUT "How many times do you… LOOP PRINT tcount; 'PRINT "The maximum number of consecutive
heads
for " flipq; "coin flips is: " ;hcount '…
Re: Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by anandarose
… is greatly appreciated. Ananda [inlinecode] 'Ananda Bennett '10/11/2006 '
Heads
or tails program INPUT "How many times do you… count: ";hcount PRINT "The maximum number of consecutive
heads
for " ; flipq; " coin flips is: " ;maxhcount PRINT…
Re: Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by Yankie Dave
… + 1 ' Now we check if it's a run of
Heads
or tails, if num = 1 then if consec > maxtcount… count: ";hcount PRINT "The maximum number of consecutive
heads
for " ; flipq; " coin flips is: " ;maxhcount PRINT…
To create a game of Heads or Tails against the computer.
Programming
Software Development
15 Years Ago
by turbomen
… the computer. Write a program that asks the user for
Heads
or Tails, then simulates a toss of a coin and… numbers always coming out as zero Ask the user for
Heads
or Tails INPUT guess Generate a random number less than…
Re: Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by WaltP
… = tcount + 1 [COLOR=red]' uncomment this and duplicate it for
heads
[/COLOR] 'LET maxtcount = tcount 'IF maxtcount > tcount THEN 'LET…
Re: Max Consecutive Heads/Tails
Programming
Software Development
17 Years Ago
by anandarose
… = tcount + 1 [COLOR=red]' uncomment this and duplicate it for
heads
[/COLOR] 'LET maxtcount = tcount 'IF maxtcount > tcount THEN 'LET…
Coin Toss Simulation, getting all Tails and one Heads
Programming
Software Development
17 Years Ago
by Rickenbacker360
… 0 and 1 and they represent the
heads
and tails respectively. If it's
heads
print H if it's tails print…
Help Programming a heads or tails game in python
Programming
Software Development
13 Years Ago
by ITGeEk2020
…. I want the game to ask the user to choose
heads
or tails, then a coin flips and chooses either one…
Re: Help Programming a heads or tails game in python
Programming
Software Development
13 Years Ago
by vegaseat
… as rn for k in range(16): print rn.choice(['
heads
', 'tails']) [/code]
Re: Flipping two coins.
Programming
Software Development
14 Years Ago
by sknake
…:
Heads
[30] Side:
Heads
[31] Side: Tails [32] Side:
Heads
[33] Side:
Heads
[34] Side:
Heads
[35] Side:
Heads
[36] Side: Tails [37] Side:
Heads
[38] Side:
Heads
… [39] Side:
Heads
[40] Side:
Heads
[41] Side:
Heads
[42…
rsync restoring compressed files to Windows
Hardware and Software
Linux and Unix
10 Years Ago
by it@61@sec
…Device [sda] --------------------ping start Device [sda] P.Table-read
Heads
: [] P.Table-read Sectors/track: [] P.Table-read… [sdb] --------------------ping start Device [sdb] P.Table-read
Heads
: [] P.Table-read Sectors/track: [] P.Table-read… Cylinders: [] BIOS-read
Heads
: [255] BIOS-read Sectors/track: [63] BIOS-read…
Coin flip winnings
Programming
Software Development
14 Years Ago
by Mclovin1234
…(int,int); int main() { int
heads
= 0; int tails = 0; int…rand()%2; switch (coin) { case 1: ++
heads
; break; case 2: ++tails; break; default:…
Apllying Dijkstra's algorithm to a specific problem in Python
Programming
Software Development
13 Years Ago
by king_koder
…. [B]Inside a room, there is a monster with N
heads
, and a human (with 1 head). The human has two… positive non-zero number of
heads
left, the monster will grow additional
heads
. The monster grows G1
heads
when gun A is used… to kill the monster(the monster dies when No. of
heads
=0).[/B] Could anyone please help me with this one…
Re: Calculation in a loop
Programming
Software Development
14 Years Ago
by emint
… args) { String choiceString; final String
HEADS
= "
Heads
"; final String TAILS = "…(result <= .5) { choiceString =
HEADS
;
heads
=
heads
+1; //counting number of
heads
here } else{ choiceString = TAILS; } System… came up " + choiceString); coinToss++; } percentage1 =
heads
* 10; percentage2 = 100 - percentage1; System.out.println…
Re: Coin simulate
Programming
Software Development
14 Years Ago
by Clinton Portis
… may confuse the user double total =
heads
- tails; ... ... ... if(choice ==
heads
) return win; else return lose; [/CODE…directly in memory: [CODE] void calculateTotal(double&
heads
, double& tails) { //Now you can …perform operations directly on the
heads
/tails objects that reside in memory (as opposed…
so close to being done need advice
Programming
Software Development
16 Years Ago
by jrice528
… and returns 0 for tails and 1 for
heads
. [code]#include <iostream> #include… getFlip(); int main() { // Variables unsigned toss; unsigned
heads
= 0; unsigned tails = 0; srand(time(0)); …total number of flips. unsigned total = 0; total =
heads
+ tails; time_t rawtime; time ( &rawtime );…
Coin Toss Program
Programming
Software Development
16 Years Ago
by chocl8drop
…::rand; int flip(); int main() { int coinToss; int
heads
, tails;
heads
= 1; tails = 0; coinToss = 100; for (int… < coinToss; toss++) { flip(); if (toss == 1)
heads
=
heads
+ 1; else tails = tails + 1; } cout << …"
Heads
appear " <<
heads
<< " times.\n"; cout…
Coin simulate
Programming
Software Development
14 Years Ago
by Mclovin1234
…<ctime> int main() { double
heads
= 0; double tails = 0; int …rand()%2; switch (coin) { case 1: ++
heads
; break; case 2: ++tails; break; default:…
How do I finish this code?
Programming
Computer Science
13 Years Ago
by anthonyjava
… toss4, toss5, toss6, toss7, toss8; int
heads
, tails; double percentHeads, percentTails; System.out.println…tails System.out.println("Number of
heads
" +
heads
); System.out.println("Number of …" + tails); System.out.println("Percent
heads
: " + percentHeads); System.out.println("…
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