publicstaticvoidmain(Stringargs[]){booleanflag1=true;while(flag1){Scanneras=newScanner(System.in);System.out.println("-----------------------------------------------------");System.out.println("-------------------插值法求解近似值-------------------");System.out.println("-------