Wed Oct 6 12:46:22 EDT 2010
Quote from BasedGod -OMG-
actually the problem is highlighted in red
if (num1= = num2)
cout << "Hey, that's a coincidence!" << endl;
if (num1 != num2)
cout << "The values are not the same" << endl;
return 0;
if (num1= = num2)
cout << "Hey, that's a coincidence!" << endl;
if (num1 != num2)
cout << "The values are not the same" << endl;
return 0;
tbh, I didn't really read your code.


Quote Wall Of Fame:
[21:02] <Lufia_Maxim> bitgubg'
[22:07] <%King Kod> I also start go sleeping now again
{Kill or Be Kill}
[19:34] <@Sociopath> I have at times called a cat simply "cat" to gain its attention
[13:23] <CYBER> but since my lvl is low so Iwill not sell brain fish becoz I need a lots of brain
WE ARE THE REBORNATION OF DEATH DESCIPLES
Wed Oct 6 22:10:05 EDT 2010
Arkona's life on a scale 10 - 12 is worth five.


oh my god
Fri Oct 8 13:31:30 EDT 2010
I dont know what im doing wrong!!!
// This program asks the user to input the length and with vaules of two
// rectangles and then informs the user which rectangle has the greater
// area or if both have the same area.
#include <iostream>
using namespace std;
int main ()
{
int rec1l, rec1w, rec1a, rec2l, rec2w, rec2a;
// l=length w=width a=area
cout << "Please enter length of first rectangle: ";
cin >> rec1l;
cout << "Please enter width of first rectangle: ";
cin >> rec1w;
cout << "Please enter length of second rectangle: ";
cin >> rec2l;
cout << "Please enter width of second rectangle: ";
cin >> rec2w;
rec1a = rec1l * rec1w;
rec2a = rec2l * rec2w;
if rec1a > rec2a
cout "The first rectangle has a greater area than the second rectangle" << endl;
else if rec1a < rec2a
cout "The second rectangle has a greater area than the first rectangle" << endl;
else
cout "Both rectangles have the same area" <<endl;
return 0;
}
// This program asks the user to input the length and with vaules of two
// rectangles and then informs the user which rectangle has the greater
// area or if both have the same area.
#include <iostream>
using namespace std;
int main ()
{
int rec1l, rec1w, rec1a, rec2l, rec2w, rec2a;
// l=length w=width a=area
cout << "Please enter length of first rectangle: ";
cin >> rec1l;
cout << "Please enter width of first rectangle: ";
cin >> rec1w;
cout << "Please enter length of second rectangle: ";
cin >> rec2l;
cout << "Please enter width of second rectangle: ";
cin >> rec2w;
rec1a = rec1l * rec1w;
rec2a = rec2l * rec2w;
if rec1a > rec2a
cout "The first rectangle has a greater area than the second rectangle" << endl;
else if rec1a < rec2a
cout "The second rectangle has a greater area than the first rectangle" << endl;
else
cout "Both rectangles have the same area" <<endl;
return 0;
}

oh my god
Fri Oct 8 13:38:50 EDT 2010
O =P
if (rec1a > rec2a)
cout << "The first rectangle has a greater area than the second rectangle" << endl;
else if (rec1a < rec2a)
cout << "The second rectangle has a greater area than the first rectangle" << endl;
else
cout << "Both rectangles have the same area" << endl;
return 0;
if (rec1a > rec2a)
cout << "The first rectangle has a greater area than the second rectangle" << endl;
else if (rec1a < rec2a)
cout << "The second rectangle has a greater area than the first rectangle" << endl;
else
cout << "Both rectangles have the same area" << endl;
return 0;

oh my god
Sat Oct 9 6:28:41 EDT 2010
Are you getting the hang of this stuff now, Hero?

Invisible War ][
Sat Oct 9 20:53:40 EDT 2010
It seems pretty similar to java