The JSON input format has been adjusted to match the format that Java accepts. I can write a function to convert the given input into the required format for Java if needed.
1.)Download all files. 2.)open cmd 3.)open cmd 4.)go to ans1 directory 5.) run this commonad in ans1 directory java -cp .;json-simple-1.1.1.jar a Example->C:\Users\91820\Desktop\ans1>java -cp .;json-simple-1.1.1.jar a 6.)Enter the path to the JSON file: enter the path of test.json file Example->Enter the path to the JSON file: C:\Users\91820\Desktop\ans1\test.json 7.) You will get output Example for this case->The constant term (c) of the polynomial is: 3.00