#include "newAverage.h" #include JNIEXPORT jdouble JNICALL Java_Arg_newAverage(JNIEnv *env, jclass cls, jint i, jint j) { return (i + j)/2.0; }