subject
Engineering, 18.03.2020 22:11 mylanag12

Which statement allows you to properly check the char variable code to determine whether it is equal to a "C" and then output "This is a check" and then advance to a new line?

(A) If code is equal to Y

cout < < 'This is a check\n":

(B) If (code = "Y")

cout < < 'This is a check" < < endl:

(C) If (code == 'Y')

cout < < 'This is a check\n":

(D) If (code == Y)

cout < < 'This is a check" < < endl:

ansver
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, aliceohern
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
image
Engineering, 04.07.2019 12:10, Ryantimes2
On a average work day more than work place firs are reorted
Answers: 1
image
Engineering, 04.07.2019 18:10, hadellolo8839
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:10, 19deleonl
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
You know the right answer?
Which statement allows you to properly check the char variable code to determine whether it is equal...

Questions in other subjects:

Konu
History, 01.03.2020 05:34