Arithmetic, Input and Output Flashcards

1
Q

when does ‘+’ mean concatenation

A

when at least one of its operands is a String

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

if x = 2.0 and y - 1.2
what is the -xy/xy?

A

-1.44

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how to print a double quotation mark

A

(“"”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how to print a back slash

A

(“\”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly