Search:

Type: Posts; User: JDK721

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,102

    Yes, thanks.

    Yes, thanks.
  2. Replies
    2
    Views
    1,102

    Putting text after inputting a variable

    How would I have text after a variable is entered so for example: I need to put a comma after the first number.. so it'd say 5, 5 instead of 55.


    cout << "The slope of every horizontal line is "...
  3. Replies
    12
    Views
    2,510

    We use microsoft visual C++ 5.0 at school, which...

    We use microsoft visual C++ 5.0 at school, which I believe is 1998 so thats why you see old headers.
  4. Replies
    12
    Views
    2,510

    Not the enter key, something else.. enter key is...

    Not the enter key, something else.. enter key is used to close the program.
  5. Replies
    12
    Views
    2,510

    Help with this C++ Program

    Write a program that declares a character array named alphabet and initializes the array to "ABCDEFGHIJKLMNOPQRSTUVWXYZ" In your program, include a FOR LOOP that replaces one character of the array...
  6. Replies
    14
    Views
    2,470

    Alrighty.. I got it, thanks for the help!

    Alrighty.. I got it, thanks for the help!
  7. Replies
    14
    Views
    2,470

    I put this.. it still is saying your total so far...

    I put this.. it still is saying your total so far is, and what variable do I input for it?


    case 'T':
    running_total = sales_tax(running_total);
    cout << "Your total sale including tax is...
  8. Replies
    14
    Views
    2,470

    I don't understand how to make it when they press...

    I don't understand how to make it when they press T to say "Your total sale is ___" and add the running total to the sales tax instead of continuing to say Your total so far is.
  9. Replies
    14
    Views
    2,470

    My last problem is.. when they hit T I need it to...

    My last problem is.. when they hit T I need it to add the current total to the amount of sales tax and for it to say "Your final total is ___"

    Its just saying "Your running total is __"
  10. Replies
    14
    Views
    2,470

    That tells them if they enter an invalid choice. ...

    That tells them if they enter an invalid choice. They can only enter S, C, P, B, R, L, X, or T.
  11. Replies
    14
    Views
    2,470

    Okay thanks, the while loop works now.. but it...

    Okay thanks, the while loop works now.. but it isn't calculating the tax right on some situations! Oh yeah and for the second question, it displays the menu prices right.. but when it gives me the...
  12. Replies
    14
    Views
    2,470

    Help with my C++ Program

    Hello, I have a few problems with my program. First off, let me tell you what the program is.

    The snack bar sells only six different items : a sandwich, chips, pickle, brownie, regular drink, and...
  13. Replies
    11
    Views
    3,105

    I have to use a DO WHILE loop.

    I have to use a DO WHILE loop.
  14. Replies
    11
    Views
    3,105

    I got this, but theres two problems. It repeats...

    I got this, but theres two problems. It repeats the same statement everytime you enter a number, and when you enter 0 the program closes.




    #include <iostream.h>
    #include <string.h>...
  15. Replies
    11
    Views
    3,105

    I believe I know the largest and smallest. But...

    I believe I know the largest and smallest. But i'm not sure, the others one i'm clueless. And I forgot what the counters purpose is, the teacher said you needed to have one.


    if (number >...
  16. Replies
    11
    Views
    3,105

    Need help with a program

    "Write a program that asks the user for a series of integers one at a time. When the user enters the integer 0, the program displays the following information.

    1) the number of integers in the...
Results 1 to 16 of 16