Givenchar ch;int num;double pay;Which of the following assignment statements are valid?(i)   ch = '*';(ii)  pay = num * pay;(iii) rate * 40 = pay;

A. Only (i) is valid
B. (i) and (ii) are valid
C. (ii) and (iii) are valid
D. (i) and (iii) are valid

Answer: B

Computer Science & Information Technology

You might also like to view...

The Security Internet Options tab is used to configure parental controls

Indicate whether the statement is true or false

Computer Science & Information Technology

Converting between classes clearly implies having two classes: One is always defined first, and one is defined second.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology