Search:

Type: Posts; User: brutal

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    930

    Need some help with this

    I have to write a file that has 4 columns and an unspecified number of rows. It has to have 3 void functions, the first is a readgrades function with two parameters double grades [][4], and int n...
  2. Thread: confusing code

    by brutal
    Replies
    4
    Views
    1,328

    confusing code

    Ok, i have this problem where i have to return the largest and smallest of 3 numbers using a funcion with 5 parameters. Here is what I got so far. It doesn't compile right for some reason, where is...
  3. Replies
    3
    Views
    919

    take a look at this code

    the code is supposed to display the following
    5 10 15 20
    15 20 25 30
    25 30 35 40
    35 40 45 50

    Here is my code


    #include <iostream.h>
  4. Replies
    8
    Views
    1,907

    You've helped me alot prelude, thanks.

    You've helped me alot prelude, thanks.
  5. Replies
    8
    Views
    1,907

    check out this code

    "write a program to have the user enter 10 numbers into an array of integers. Then have the program fill another array which contains the squares of the elements in the first array. Print out the...
  6. Replies
    2
    Views
    962

    Take a look at this one

    Still playing with functions, here is a program that reads in 2 integers and points to a function for largest and a second fuction that sums them up calling them get_big and add_two. Take a look at...
  7. Replies
    4
    Views
    976

    second version of old problem, help?

    I decided not to use an array and go with a so called easier way. here is the question again
    "write a program to read in 3 doubles then call 2 functions get_sum and get_big. The functions get...
  8. Replies
    2
    Views
    816

    Need some help again :)

    Ok folks, i'm stumped again. here is the question
    "write a program to read in 3 doubles then call 2 functions get_sum and get_big. The functions get passed the 3 doubles and return, respectively,...
  9. Replies
    6
    Views
    1,242

    you guys are the best, thanks. I'll just study...

    you guys are the best, thanks. I'll just study both of these for a while heh
  10. Replies
    6
    Views
    1,242

    Here is what I got so far based on your help, and...

    Here is what I got so far based on your help, and the books. i am having a big problem with the start of the program and have the end figured out. I've almost got it, but i'm still hitting a wall. ...
  11. Replies
    6
    Views
    1,242

    I'm lost on this one

    Prof put this problem up today, and it is worded weird so i am having a very difficult time with it. If anyone can figure it out I'd appreciate it, i need to study a working version of it and none...
  12. Replies
    6
    Views
    863

    nice monster, guess i should re-read the nested...

    nice monster, guess i should re-read the nested for loop crap again. thanks .
  13. Replies
    6
    Views
    863

    nutshell's program was similar to the one i made,...

    nutshell's program was similar to the one i made, and it gave wrong values. question c gave good advice, but i need to do this problem with a for loop. I just can't think of a good way to go around...
  14. Replies
    6
    Views
    863

    need a little help with ths problem

    I need to compute the sum of 1 + 1 * 2 + 1 * 2 * 3.... n (n being the number). so if n was 5 it would be 1 + 1 * 2 + 1 * 2 * 3 + 1 * 2 * 3 * 4 + 1 * 2 * 3 * 4 * 5 (exiting at 5). so far I got...
  15. Replies
    1
    Views
    786

    Help with problem

    I'm just starting here, so please have a little patience with me. Here is the problem to start with.

    "Write a program that reads in two numbers, n and k, from the data, then computes the sum of...
Results 1 to 15 of 15