Uses the Double in the calculations

Report a typo

Write a program that reads a double value x x and evaluates the result of x3+x2+x+1 x^3 + x^2 + x + 1

Use the Double type in your calculations.

Sample Input 1:

22.5

Sample Output 1:

11920.375
Write a program in Kotlin
fun main() {
// put your code here
}
___

Create a free account to access the full topic