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;
Type: Posts; User: arnell22
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;
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...
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...
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....