Of all the mistakes shown by compiler, only 1 is an error, on Line #59.
on Line #47 you have declared plagiarismfn as a float variable, so you cant treat as a callable object , that is use it like a function call with 2 arguments., as you did on line #59.
But, you will need to share the entire code for checking.Also the other warnings may let you generate a binary , it will sure casue a crash, so please correct all warning .