Answered step by step
Verified Expert Solution
Question
1 Approved Answer
answer all the prompts D Question 1 2 pts Match each mathematical function with its purpose. Math.PI Choose ] Returns the square root of x
answer all the prompts
D Question 1 2 pts Match each mathematical function with its purpose. Math.PI Choose ] Returns the square root of x for x >= 0 x is rounded down to its nearest integer. This integer is returned as a double value. x is rounded up to its nearest integer. This integer is returned as a double value. A contant representing the value of pi Math.sqrt(x) Math.ceil(x) [Choose] Math.floor(x) [Choose] D Question 4 5 pts Match each String method with what it returns. "Hello".length [Choose ] true "Potato".charAt(2) Good Day good goo "good Day".toUpperCase) hello world false "hello".concat"world") GOOD DAY "hello world"contains("world") [Choose] "today is a good day".substring(10,14) [Choose)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started