subject
Engineering, 25.02.2020 16:49 seanisom7

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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
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
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:10
The flow rate of air through a through a pipe is 0.02 m5/s. a pitot static tube is placed in the flow. the radius of the pitot static tube is 1 mm. assuming the flow to be steady and the air to be at 300k, calculate the difference in total and static pressure if the diameter of the pipe is: (a) d 0.1 m d 0.05 m (c) d 0.01 m
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
question
English, 05.07.2020 21:01
question
Mathematics, 05.07.2020 21:01
question
Mathematics, 05.07.2020 21:01
question
Mathematics, 05.07.2020 21:01