Programming

Sunday 12 July 2020, 16:46  #1
Go back to college New challenge
PC-Principal
  • 3 posts

Hello Guys,

the task for this challenge changed.
We now should calculate the square root of the first number and multiply it with the second.
The description still says to round up to 2 decimals, which makes no sense, because the answer can´t be a double
I send the response !ep1 -rep response and got the Bad response message
Does Candy maybe want the result in the format result.00
Has anyone solved this challenge ?

I appreciate your help

Sunday 12 July 2020, 19:24  #2
Go back to college New challenge
NonStandardModel
  • 42 posts

Why do you think that the rounding has no sense. Square-root of an integer can be (and in most cases is) a float/double.
Best,
NonStandardModel

Wednesday 14 April 2021, 13:04  #3
Go back to college New challenge
telMara
  • 1 posts

agree with him ^