#include #include #include using namespace std; #include int main(int narg, char *argv[]) { fann_type *calc_out; fann_type input[2]; struct fann *ann = fann_create_from_file("mult.net"); srandom(1); for(int i=0; i<200; i++){ // Get 2 integer values between 0 and 3 inclusive double input1 = (double)((random()&0xFF)%4); double input2 = (double)((random()&0xFF)%4); input[0] = input1; input[1] = input2; calc_out = fann_run(ann, input); int output = 0; for(output=0; output<=10; output++)if(calc_out[output]>0.7)break; cout<