Search:

Type: Posts; User: girliegti

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    3,252

    yes, I've learned for and while loops, but do not...

    yes, I've learned for and while loops, but do not totally understand them.
  2. Replies
    8
    Views
    3,252

    Fibonacci sequence

    Ok, I have to create a program that prints whether a number is in the Fibonacci sequence. This is what i have so far, but i could use some help:



    #include <iostream>
    #include <iomanip>...
  3. Replies
    6
    Views
    1,129

    Ok, thank you. That makes a lot more sense.

    Ok, thank you. That makes a lot more sense.
  4. Replies
    6
    Views
    1,129

    well if this is the case, why are the two codes...

    well if this is the case, why are the two codes that i gave wrong?


    #include <iostream>
    using namespace std;
    int main (void){
    for (int n=1; n<=10; n++);
    cout << n << endl;
    return 0;
    }
  5. Replies
    6
    Views
    1,129

    Thanks for the help. Could you possibly explain...

    Thanks for the help. Could you possibly explain why making the change is necessary? I'm new to programming, and am having some difficulty understanding what everything means.
    thanks
  6. Replies
    6
    Views
    1,129

    What is wrong?

    I need to fix each of these codes so that it will print numbers between 1 and 10. what is wrong?


    #include <iostream>
    using namespace std;
    int main (void){
    for (int n=1; n<=10; n++);
    cout <<...
  7. Replies
    4
    Views
    4,202

    coin toss program?

    here is the problem:
    each of three people tosses a coin. if all three tosses are heads or all three tosses are tails, the game is a draw. if two of the tosses are one type and the third one is...
Results 1 to 7 of 8