Search:

Type: Posts; User: todouble22

Search: Search took 0.01 seconds.

  1. Replies
    22
    Views
    4,318

    do you want a method to calculate percentage or...

    do you want a method to calculate percentage or just display in this example? as it stands now:

    #include "stdafx.h"
    #include<iostream>
    using namespace std;

    int num_correct=0; //initialize a...
  2. Replies
    22
    Views
    4,318

    I'm not attempting to discredit your assistance...

    I'm not attempting to discredit your assistance to the user but in the beginning it can be a bit daunting and at least as i've noticed its best to fully explain
  3. Replies
    22
    Views
    4,318

    oldman, the user paulb39 is a noob. you're...

    oldman, the user paulb39 is a noob. you're giving him examples of functions and calling to them within your main method.. do you seriously think that will get what you're doing without even knowing...
  4. Replies
    22
    Views
    4,318

    first off if you're going to do it this way, you...

    first off if you're going to do it this way, you will have to satisfy the rest of the possible answers in your if statements. You have one for your 100% answer. Think of the other scenarios that...
  5. Replies
    17
    Views
    2,474

    OKAY FOR THE 1000 if (firstGuess ==...

    OKAY FOR THE 1000


    if (firstGuess == firstResult || firstGuess == secondResult || firstGuess == thirdResult
    && secondGuess == firstResult || secondGuess == secondResult || secondGuess ==...
  6. Replies
    17
    Views
    2,474

    yes i do i have that in the part for the 100 i...

    yes i do i have that in the part for the 100 i think?.. and firstly, thank you very much for your help! now i need to work it so that two matching will result in a win for $100.
  7. Replies
    17
    Views
    2,474

    the million dollar one is easy since they all...

    the million dollar one is easy since they all have to be exactly equivalent in order.. so here goes: for the 1000 which is 3 matching not in order. first guess can == first result or second result...
  8. Replies
    17
    Views
    2,474

    The number can come out more than once but my...

    The number can come out more than once but my problem is doing the comparisons of all the possible drawn numbers to that of the guessed numbers. I'm having a real hard time with it. *banging head on...
  9. Replies
    17
    Views
    2,474

    Thanks for your help daved!

    Thanks for your help daved!
  10. Replies
    17
    Views
    2,474

    I got the idea of the if else statements. what...

    I got the idea of the if else statements. what about functions. my book is pretty vague. like a struct for numbers? i guess i'm a lil lost with that?
  11. Replies
    17
    Views
    2,474

    could you just give me an example of the if else...

    could you just give me an example of the if else part of it? I am looking into functions now.. I appreciate all of you assistance..
  12. Replies
    17
    Views
    2,474

    Funny that you mention that because that is...

    Funny that you mention that because that is another part of the problem that I need to add in? Like if the user picks 1.2.3 and the computer generates 1.1.1 i need to make it so that it doesnt give...
  13. Replies
    17
    Views
    2,474

    help with a lottery problem.

    Hello all this is my first post and I have been lurking about since I have found this site. So here is my dilemma, I have a problem for school that will generate 3 random numbers between 0 and 9. ...
Results 1 to 13 of 13