Computer Science, asked by abhi8126970, 11 months ago

please solve them. ​

Attachments:

Answers

Answered by ashwin456ojha
1

Answer:

Here is the answer of the Question No.8

string_num = '275';  //Since it's been under '', then it is treated as string

total = total + 1000;   //here total is variable then we're adding 1000 to existing variable and updating its value to again total variable.

float pie = 3.142f;  //Snce 3.142 is a float number, hence we're assigning it to float var pie.

Here is the answer of Question No. 9

a) Math.sqrt(25) = 5 //As you know that square root of 25 is 5

b) Math.pow(Math.abs(-3), 0) = 1   //abs method convert the -3 to absolute value that is 3 and we're doing the its power to 0 so 3⁰ = 1

c)  I CANT SEE THAT!!

IF YOU LIKE THIS THEN MARK IT AS BRAINLIEST ANSWER :)

Similar questions