Search:

Type: Posts; User: helloalyssa

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,198

    i'm asking about both outputs.

    i'm asking about both outputs.
  2. Replies
    5
    Views
    1,198

    question about arrays

    hi everyone. i'm reviewing for my final and my teacher posted this as a sample final question.


    What would the following block of code output?

    #include <iostream>
    using namespace std;
    void...
  3. Replies
    3
    Views
    1,152

    ugh i ALWAYS miss those things. =\ my program...

    ugh i ALWAYS miss those things. =\

    my program compiles fine now but after i enter the 10 numbers, the program just ends.
  4. Replies
    3
    Views
    1,152

    using arrays

    hi everyone, i need some help with my assignment for the week. we're supposed to (taken directly from assignment page) "write a program that inputs an array of 10 integers from the user, and removes...
  5. Replies
    1
    Views
    3,212

    consumer loan program errors

    (taken from the assignment page)

    "Your program will ask the user to enter the amount of money they want to borrow, the interest rate, and the monthly payment amount. Your program will then...
  6. thank you! i figured it out with the help of you...

    thank you! i figured it out with the help of you and the local lab tutor. heh. all i had to was nest an if loop into the nested for loop.
  7. yeah it's supposed to look like that. the code i...

    yeah it's supposed to look like that. the code i have posted is for the second half of the triangle. my teacher told us to make the code like that; code the first half then the second half.
  8. i don't think there is another problem besides...

    i don't think there is another problem besides setw. it complies correctly and displays the right amount of characters but the spacing is off. it's definitely setw not working as i thought it would...
  9. using for loops to display a parallelogram

    our output should look like this (the underscores are just there to make it display properly):

    This program will output a parallelogram.
    How long do you want each side to be? 9
    Please enter the...
  10. you should put the code tags around the code...

    you should put the code tags around the code first if you want help from anyone..
  11. Replies
    3
    Views
    3,749

    so i posted this yesterday and had my initial...

    so i posted this yesterday and had my initial questions answered by swarvy (thanks!) but now i'm having other problems. :S
  12. Replies
    3
    Views
    3,749

    beginner loop help

    this is the code i have for my program. i'm having trouble keeping the output in integer format since i'm multiplying by floating point numbers. i'm also having a problem with the last output, mine...
  13. Replies
    3
    Views
    1,846

    you need to put cin.ignore() before cin.get().

    you need to put cin.ignore() before cin.get().
  14. Replies
    1
    Views
    1,227

    rock paper scissors.. other choices.

    i'm currently writing a rock paper scissors program. our output should look like the following:


    bash-2.04$ a.out
    Player One, please enter your move: ('P' for Paper, 'R' for Rock, 'S' for...
  15. rock, paper, scissors game: logical operators & switch statements

    i'm writing a simple program for the game rock, paper, scissors.

    would i use an if statement or a switch statement to store both r and R as rock?
  16. Replies
    3
    Views
    8,257

    do i have add 15 to the fee to the line below //...

    do i have add 15 to the fee to the line below // if (balance <= 400) or else if (checks <= 0)?? i'm sorry if this is a dumb question but it's these little problems that really confuse me.
  17. Replies
    3
    Views
    8,257

    calculating monthly bank fees

    hi everyone! i almost have my program finished (pretty surprised i actually do lol) but i'm having a couple problems. this is what the program should do (copied straight out of the textbook)

    a...
  18. Replies
    8
    Views
    6,017

    look you don't need to be excessively sarcastic...

    look you don't need to be excessively sarcastic if you think my question is silly, i already know it is.

    i am asking the user for data.
    and no, neither month or year contain data because i'm...
  19. Replies
    8
    Views
    6,017

    ugh i don't know why i had commas. anyway i...

    ugh i don't know why i had commas. anyway i thought i fixed it but it still cuts off (it just ends) after it displays "please enter the year for this report:".
  20. Replies
    8
    Views
    6,017

    lolz nvm i figured it out -_-

    lolz nvm i figured it out -_-
  21. Replies
    8
    Views
    6,017

    super n00b prob .. -_-

    ughhhhhhhhh totally erased this because my question was dumb and i actually did figure out what i did wrong.
  22. Replies
    6
    Views
    1,666

    ohh okay wow. i feel pretty silly. i only broke...

    ohh okay wow. i feel pretty silly. i only broke up the string because it made it easier to read.. sigh. thank you for helping me with my silly problem. hopefully next time i make another post it'll...
  23. Replies
    6
    Views
    1,666

    im pretty sure it has to do with how many...

    im pretty sure it has to do with how many quotation marks i have but whenever i take them out i have 4 errors instead of 3.
  24. Replies
    6
    Views
    1,666

    oops its actually error 2065.. lol. sorry!!

    oops its actually error 2065.. lol. sorry!!
  25. Replies
    6
    Views
    1,666

    error #2605

    hey everyone my name is alyssa, this is the first time i'm posting on this forum. :) this is also my first C++ programming class. i've basically written my program but its the last line that keeps...
Results 1 to 25 of 26
Page 1 of 2 1 2