Arithmetic, Input and Output Flashcards
1
Q
when does ‘+’ mean concatenation
A
when at least one of its operands is a String
2
Q
if x = 2.0 and y - 1.2
what is the -xy/xy?
A
-1.44
3
Q
how to print a double quotation mark
A
(“"”)
4
Q
how to print a back slash
A
(“\”)
5
Q
A