fix: massive questions markdown fix
This commit is contained in:
@ -10,8 +10,12 @@
|
||||
3. 57 *CORRECT*
|
||||
4. "Try Me!"
|
||||
|
||||
> 4. Nice Try. But, that's not right. Sorry.
|
||||
> 3. That's right. The remainder operator only works on integer values.
|
||||
> **4:** Nice Try. But, that's not right. Sorry.
|
||||
>
|
||||
>
|
||||
> **3:** That's right. The remainder operator only works on integer values.
|
||||
>
|
||||
>
|
||||
|
||||
|
||||
## What's the result of this expression?
|
||||
@ -43,7 +47,9 @@ var degree float64 = 10 / 4
|
||||
3. 2 *CORRECT*
|
||||
4. 0
|
||||
|
||||
> 3. That's right. An integer value cannot contain fractional parts.
|
||||
> **3:** That's right. An integer value cannot contain fractional parts.
|
||||
>
|
||||
>
|
||||
|
||||
|
||||
## What's the result of this expression?
|
||||
@ -55,7 +61,9 @@ var degree float64 = 3. / 2
|
||||
3. 1
|
||||
4. 0
|
||||
|
||||
> 1. That's right. `3.` makes the whole expression a float value.
|
||||
> **1:** That's right. `3.` makes the whole expression a float value.
|
||||
>
|
||||
>
|
||||
|
||||
|
||||
## What's the type of the `x` variable?
|
||||
@ -67,10 +75,18 @@ x := 5 * 2.
|
||||
3. bool
|
||||
4. string
|
||||
|
||||
> 1. Look closely to 2 there.
|
||||
> 2. Why? Because, `2.` there makes the expressions a float value. Cool.
|
||||
> 3. Oh, come on! Life is not always true and false.
|
||||
> 4. I can't see any double-quotes or back-quotes, can you?
|
||||
> **1:** Look closely to 2 there.
|
||||
>
|
||||
>
|
||||
> **2:** Why? Because, `2.` there makes the expressions a float value. Cool.
|
||||
>
|
||||
>
|
||||
> **3:** Oh, come on! Life is not always true and false.
|
||||
>
|
||||
>
|
||||
> **4:** I can't see any double-quotes or back-quotes, can you?
|
||||
>
|
||||
>
|
||||
|
||||
|
||||
## What's the type of the `x` variable?
|
||||
@ -82,10 +98,18 @@ x := 5 * -(2)
|
||||
3. bool
|
||||
4. string
|
||||
|
||||
> 1. Why? Because, there only integer numbers.
|
||||
> 2. I can't see any fractional parts there, can you?
|
||||
> 3. Oh, come on! Life is not always true and false.
|
||||
> 4. I can't see any double-quotes or back-quotes, can you?
|
||||
> **1:** Why? Because, there only integer numbers.
|
||||
>
|
||||
>
|
||||
> **2:** I can't see any fractional parts there, can you?
|
||||
>
|
||||
>
|
||||
> **3:** Oh, come on! Life is not always true and false.
|
||||
>
|
||||
>
|
||||
> **4:** I can't see any double-quotes or back-quotes, can you?
|
||||
>
|
||||
>
|
||||
|
||||
|
||||
## Which kind of values can result in inaccurate calculations?
|
||||
|
Reference in New Issue
Block a user