Question: Please write in Java language on Apache Netbeans or on ideone Lab 2 - Array The purpose of this lab is to review array. Description

Please write in Java language on Apache Netbeans or on ideone
Please write in Java language on Apache Netbeans or on ideone Lab

Lab 2 - Array The purpose of this lab is to review array. Description Write a program that reads an integer M (the degree of the polynomial), then M +1 coefficients of the polynomial and then an integer x and prints the value of the polynomial at x. The input is a sequence of integers and the output will be a single integer. For example, for input 23 452, the program will print the value of polynomial 3x + 4x +5 at x = 2, which is 25. Sample Input and Output Sample input: 35-6 7-82 Expected output: 22 Sample input: 43-854-245 Expected output: 996 Submission Submit the zip file of the project (File -> Export Project)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!