Search:

Type: Posts; User: Loraswish

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    980

    Thanks, but the program is suppsoe to prompt the...

    Thanks, but the program is suppsoe to prompt the user until a valid abbreviation is entered. Then it;s suppose to end, my (dare I say) program keeps prompting the user and never wants to end. :( ...
  2. Replies
    4
    Views
    980

    Do-ing loops , While I shouldn't be

    I cant not get ths prgram to stop asking for input. I don't know when the problem is . I think it's in the do-while statement, but I can not figure it out. I have not included all the state initials...
  3. Replies
    7
    Views
    1,481

    void GetAngleVelocity(/* in */float& angle, ...

    void GetAngleVelocity(/* in */float& angle,
    /* in */float& velocity)
    {
    //get angle
    cout << "Enter the angle in degrees (example 45.0, 90.0).\n";
    ...
  4. Replies
    7
    Views
    1,481

    i typed it in on this site this morning and yes I...

    i typed it in on this site this morning and yes I cut and pasted the one while statement. I do not have this in the program. like i said it works if it's in the PlayGame module, but will not it I put...
  5. Replies
    7
    Views
    1,481

    I have to verify that the user has entered valid...

    I have to verify that the user has entered valid data. that the numbers entered are not negative. so when I put in this:




    cout << "Please enter the distance to the target.\n";
    cin >>...
  6. Replies
    7
    Views
    1,481

    data validation

    I have tried to input data validation in this code (which works dist 150, angle 37, vleocity 71) but everything I do messes up the code. I know I am no programmer and I solved the hair falling out...
  7. Replies
    10
    Views
    1,314

    actually this program is in chapter 6, and we are...

    actually this program is in chapter 6, and we are still in chapter 3, trying to work this out ahead of time. so I guess I should be considered a novice ( i know enough to cause my system to crash,...
  8. Replies
    10
    Views
    1,314

    well mooooo then, cause I can not convert it. Did...

    well mooooo then, cause I can not convert it. Did I mention that I am a newbie?, guess not. anyway I can do the if/else and the break statements but this loop has me more than a little loopy....
  9. Replies
    10
    Views
    1,314

    thanks???

    Your right it does work, problem is:
    1. the program specifically called for the user to enter a character of his/her choosing.
    2. this has to be written in a while loop, not a do-while loop, I...
  10. Replies
    10
    Views
    1,314

    trying to make this thing print out a diamond i...

    trying to make this thing print out a diamond
    i e @
    @@@
    @

    #include <iostream>

    int main()
    {
  11. Replies
    10
    Views
    1,314

    ++

    I have lost sleep. hair and one letter grade behind this program, this and the calendar one i wrote, everyday in that starts on monday and every month has 31 days.
  12. Replies
    10
    Views
    1,314

    Diamond in the rough

    I have been wrestling with this code for one year, I no longer have an infinite loop, but I also do not have a diamond either, something is wrong but I dont know what.

    half = number/2;
    ...
Results 1 to 12 of 12