i want to test my logic before i continue but i keep getting an error after i key in the numbers i really need some help im the only mac user in the class remember its not totally done just want to test some logic
here is the photo of the first error
if i go into the debug i keep getting bumbed into some other function
__pow_helper() and it gets stuck
here is the photo of the first error

if i go into the debug i keep getting bumbed into some other function
__pow_helper() and it gets stuck
Code:
// includes
#include <iostream.h>
// defines
#define SKIPLINE cout<<endl
void arrange(double,double,double);
///////////////////////////////////////////////////////////////////
// Programmer: Manoj Aggarwal
// Date Due: October 19, 2003
// Input: three values
// Process: arrange three values
// Output: three values arranged
int main(){
//declarations
double a, // a, b, c are the values that are going
b, // to be arranged
c; // the arrangement values are for the
// output
char
ans; //eof check
//main loop
do{
//input
cout<<"Enter three values to be tested\n";
cin>>a>>b>>c;
//<<<process>>>
arrange(a,b,c);
//output
cout<<""<<a<<" "<<b<<" "<<c<<"\n";
//check for exit
cout<<"continue? (Y/N) "<<endl;
do
ans = toupper(getchar());
while (ans !='Y' && ans != 'N');
SKIPLINE;
}while (ans == 'Y');
SKIPLINE;
//wrap up
cout<<"End of program"<<endl;
return (0);
}//main()
//----------------------------------------------
void arrange( double& a, double& b, double& c){
double
high, mid,low;
if(a <= b and a <= c)
high = a;
else if(b >= c)
low = c;
}