mbanghart
August 1st, 2008, 10:50 AM
Hi,
The following only outputs a zero. Not sure why.
cout << "Percent Connected: " << (Ccounter/(totalElements*6))*100 << " %\n\n" << endl;
Ccounter and totalElements are Ints.
Thanks
The following only outputs a zero. Not sure why.
cout << "Percent Connected: " << (Ccounter/(totalElements*6))*100 << " %\n\n" << endl;
Ccounter and totalElements are Ints.
Thanks