Search:

Type: Posts; User: arnell22

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,583

    I think I figured it out but now it's not doing...

    I think I figured it out but now it's not doing anything when I run my program.


    #include<iostream>
    using namespace std;

    int main()
    {
    int Answer;
    int Answer2;
  2. Replies
    4
    Views
    2,583

    Equation wrong

    Im trying to write a program that will generate the first 5 amicable pairs. When I run my program, it just generates 1 pair and the pair that it gives me is wrong. It gives me 221 and 330. The first...
  3. Thread: using classes

    by arnell22
    Replies
    7
    Views
    3,540

    I didnt write my program so far in the correct...

    I didnt write my program so far in the correct way so here's a better look at it of what I mean. I know I dont need a class but my professor wants us to get use to using classes so that is why Im...
  4. Thread: using classes

    by arnell22
    Replies
    7
    Views
    3,540

    using classes

    Im have trouble with creating classes. I got the private part down packed but the public part is where I have a little trouble. In my program my professor wants me to do a program on amicable pairs....
Results 1 to 4 of 4