Search:

Type: Posts; User: mayoussa89

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,804

    2D array help...

    i need to write a program as follows:

    Write a program that prompts the user to enter three positive integers representing the number of rows, the number of columns of a grid, and the number of...
  2. Replies
    2
    Views
    3,273

    random number generator help

    I need help with the random number generator- my range is -250 to 250, and i think i got the right format on that, but when i run the program, i get some garbage number, can someone help explain to...
  3. ok i did as you said to, but i still cant seem to...

    ok i did as you said to, but i still cant seem to get it right...
    since i want a+b+c+d=50, i made all my variables less than or equal to 50, correct?
    and i used an if statement at the end to see if...
  4. can you please give me an example of an odemeter?...

    can you please give me an example of an odemeter?
    it would have some loop, where the limit is 50, right? am i on the right track?
    i'm very confused now...
  5. how would i specify the quadruples (a,b,c,d)?...

    how would i specify the quadruples (a,b,c,d)?
    the problem requires me to have the program generate them on its own...
    how can i tell the program what conditions i want to be met and when to finish?...
  6. write a program that determines all the possible ways to divide an integer.

    my program that im supposed to write needs to divide 200 hrs of work between four workers , based on the following conditions:
    if worker one works 2 days, then he must work for only 2 hrs each day,...
  7. oh thanks you guys! for exiting the program i...

    oh thanks you guys!
    for exiting the program i used


    return 1;


    and that worked fine (we were taught that in lecture)

    i didnt think that it would be as simple as an if statement that my...
  8. C++ calculator with menu and do...while loops- something's wrong.

    hello!
    im new to c++ (and to this forum). i've been struggling with this hw assignment for days now and still cant seem to get it right.
    i attached my assignment.


    #include <iostream>...
Results 1 to 8 of 8