Search:

Type: Posts; User: learnin2program

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,241

    functions....please help

    I am trying to write a program that:
    write a function called convert that accepts 4 arguments as follows:
    1) integer seconds
    2) reference int hours
    3) reference int minutes
    4) reference int...
  2. Replies
    8
    Views
    1,499

    repost: still stuggling with for loop

    I tried the suggestion and modified the code a little to make it more readable... The code I tried was:
    #include<iostream.h>
    #include<math.h>

    int main( )
    {
    int day = 0, input = 0, total = 0;
    ...
  3. Replies
    8
    Views
    1,499

    repost: still stuggling w/for loop

    Hello... I am working on a For Loop Problem.. I have tried modifying it in many ways for it to work - but it still doesn't ... any help would be appreciated..
    The problem: To make a For Loop that...
  4. Replies
    4
    Views
    1,439

    For Loop

    I am trying to create a program that allows a user to enter the input amount (ex. .01)

    Day Input Total
    1 .01 .01
    2 .02 .03
    3 .04 .07

    The...
  5. Replies
    5
    Views
    1,084

    still having looping problems

    I am still trying to make a program that:
    Enter first term: 1
    Enter second term: 4
    Output:
    1 + 2 + 3+ 4 = answer
    1*1*1 + 2*2*2 + 3*3*3 + 4*4*4 = answer

    This is the code that I have:...
  6. Replies
    4
    Views
    966

    thank you -- one more question

    the help i have recieved was great...

    i just have one question about the suggestion...

    cout << "Enter input #" << i + 1 << " here:" << flush;

    on this line what does flush mean or do...
    ...
  7. Replies
    5
    Views
    1,084

    while loop - still need help

    I have been working on a problem to enter the first term then a second term.... then add all of the numbers

    for example..
    enter first term: 1
    enter second term: 5
    output
    1+2+3+4+5 = 14

    I...
  8. Replies
    4
    Views
    966

    function&arrays - please help...

    I am trying to make a program using functions and arrays.....

    It needs to recieve a character array buff of 6 characters. This would be entered by the user. Then the character array buff needs...
  9. Replies
    7
    Views
    1,214

    still need help Please

    I tried the last suggestion unfortuantely I it was never ending... information with I believe six digits plus six digits just kept continuing... this is the code I used.

    #include<iostream.h>...
  10. Replies
    7
    Views
    1,214

    still trying to figure out while loop

    I tried correcting the while loop... I am a step closer but not quite there....

    The code I now am using is

    #include<iostream.h>
    #include<math.h>

    main()
    {
    int firstnum, secondnum,...
  11. Replies
    7
    Views
    1,214

    while looping

    I am trying to figure out how to make a program so that when I enter a starting number and an ending number all numbers between that are added up.

    For Example
    First Number: 1
    Second Number: 5...
Results 1 to 11 of 11