Next question, assuming everything is defined properly, would this added code work as an overload constructor?
Keep in mind, i'm very very wet behind the ears when it comes to C++, and programming...
Type: Posts; User: SquirrelRJ
Next question, assuming everything is defined properly, would this added code work as an overload constructor?
Keep in mind, i'm very very wet behind the ears when it comes to C++, and programming...
That's a typo, my fault.
#include <iostream>
using namespace std;
class Circle
{
private:
float radius;
public:
Well I obviously appreciate his help, but I had everything right except the output of the smallest integer, so I don't see it as that big of a deal, but I suppose I can see your point, 7stud.
no no, it works now, I also see what you are saying as far as LargeNum technically being the same as SmallNum.
Once I read these codes a few times it sinks in.
Thank again
Thanks alot Mortissus, explain to me in Lehman's terms how that computes?
EDIT- When I assigned the variables values, the output was giving me the smallest number only, not the largest, that's why...
I don't agree with alot of what the book says, but i'm a beginner and these are simple homework assignments, so I can't do it any other way at this point.
I can't seem to get this code to work 100%, the smaller number keeps coming up as a -8******* number, everything else seems to be in order.
//This program will display the largest and smallest...
Ya I should have been more clear, it works fine as is, my professor gave me the extra task of making the program work in the same fashion using the not operator in this line of code.
I can get it...
//This program illustrates the use of logical operators
#include <iostream>
using namespace std;
int main()
{