AnswersASC Programming Games Apps and SocietyOperators and Escape Sequences

Operators and Escape Sequences Answers

5 verified answers
1
Free Preview

The \n in the statement produces a [BLANK].

Answer not available
2
Free Preview

In a conditional statement, the [BLANK] symbol is used to separate a test expression from the expression to be processed if the test result is true.

Answer not available
3

Match the escape sequence with the usage.

Answer:

0:tab|1:form feed|2:double quotation mark

4

The syntax println(): is used to print the contents of its [BLANK] and then print a carriage return to place the cursor on the next line.

Answer not available
5

Analyze the following code, which is correct for a conditional operator?

A
(myAge>=yourAge)?myAge-yourAge:yourAge-myAge
B
(myAge>=yourAge);myAge-yourAge;yourAge-myAge
C
(myAge>=yourAge):myAge-yourAge:yourAge-myAge
D
(myAge>=yourAge)?myAge-yourAge?yourAge-myAge

Did you find these answers helpful?

Operators and Escape Sequences Answers — ASC…