Search:

Type: Posts; User: arsenalftw067

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    3,270

    I'm trying to make the function countWord but I'm...

    I'm trying to make the function countWord but I'm having some problems with it. i put char countWords(string); the function name before the main function and i call it by doing


    if(choice == '4')...
  2. Replies
    8
    Views
    3,270

    Hey sorry but I did not understand a word of what...

    Hey sorry but I did not understand a word of what you just said. As I said before, I'm a complete noob at this so I literally did not understand a single word of what you just said :p
  3. Replies
    8
    Views
    3,270

    Would I have to make a do while program? And I...

    Would I have to make a do while program? And I still don't know how to make it so whenever I press 7 it prints the new string, I only know how to do it so whenever the user presses whatever number it...
  4. Replies
    8
    Views
    3,270

    Homework problem!

    Hey guys, heres the instructions for my homework:
    1. The program should start by asking the user to enter a word, a sentence, or a string of numbers. Store whatever the user enters into a C++...
  5. Replies
    19
    Views
    8,467

    So I would have to have the num1 num2 etc all in...

    So I would have to have the num1 num2 etc all in floats?
  6. Replies
    19
    Views
    8,467

    Not the percentage of each rolled number

    Not the percentage of each rolled number
  7. Replies
    19
    Views
    8,467

    Sorry for double post, I realized the error was...

    Sorry for double post, I realized the error was that I was declaring the value for a variable by putting else if ( rolled = 4 ) or something when it should be ==.


    the program now shows how many...
  8. Replies
    19
    Views
    8,467

    Alright so this is what I have so far //...

    Alright so this is what I have so far


    // CSIS 135, Spring 2012, Homework#3 /*PSEUDOCODE: Ask user desired amount of times dice rolled
    Store data under variable time_roll
    Input random number...
  9. Replies
    19
    Views
    8,467

    I don't get the last part about the nested loops....

    I don't get the last part about the nested loops. I thought it would be something like if (times = 0; times >= rolled; rolled++) to keep track of how many times the user wants to roll the dice. You...
  10. Replies
    19
    Views
    8,467

    I don't even know what an array is. A nested...

    I don't even know what an array is.
    A nested loop is a loop inside the body of another loop
    Pay attention this is what part of HW #3 is about
    Example:

    for (int row = 1; row <= 3; row++)
    {...
  11. Replies
    19
    Views
    8,467

    if for loops, she told us specifically to use...

    if for loops, she told us specifically to use nested loops but no arrays. I have no idea how to do this and its due on saturday
  12. Replies
    19
    Views
    8,467

    I don't understand what you guys are saying, I'm...

    I don't understand what you guys are saying, I'm a beginner at all of this.

    So far from what I understand is I need 6 variables, one for times the user wants rolled, one for time starting at 0,...
  13. Replies
    19
    Views
    8,467

    Homework help

    need some help with my C++ homework. here is the assignment:

    PROGRAM #1 - DICE ROLLING SIMULATION This program should simulate the roll of a single die (dice) (1-6) using the C++ random number...
  14. Replies
    11
    Views
    1,365

    Yeah I don't get how you input the suffixes

    Yeah I don't get how you input the suffixes
  15. Replies
    11
    Views
    1,365

    How would I put the UL code? Do I just put like...

    How would I put the UL code? Do I just put like (UL) next to the end result? here is the code:


    int main()
    {
    double weight;
    double weightNew;
    double speed;
    double distanceSun;
    double...
  16. Replies
    11
    Views
    1,365

    Need help

    Hey guys, so I'm a beginner in C++ and I need some help. I'm using a website called hypergrade to turn in my programs, and one of my assignments was to create a program regarding plants, where it...
Results 1 to 16 of 16