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 19:10
How to increase the thermal officiency of an ideal simple rankino cycle? among these methods, which one is the best and why?
Answers: 2
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
Answers: 2
question
Engineering, 04.07.2019 19:20
The power source in a certain welding setup generates 3500w that is transferred to the low carbon steel work with a heat transfer factor of 0.85. the melting factor in the operation is 0.45. a continuous fillet weld is to be made with a cross-sectional area of 23 mm2 determine the travel speed at which the welding can be accomplished.
Answers: 3
question
Engineering, 06.07.2019 02:30
Around steel bar, made from material with a yield stress of 750mpa, is loaded so that it has stresses co locations of maximum normal stress and maximum shear stress. use maximum shear stress and maximum distortion energy theories to calculate the safety factors for initial yielding failures.
Answers: 3
You know the right answer?
Which statement allows you to properly check the char variable code to determine whether it is equal...
Questions
question
Mathematics, 09.01.2021 01:00
question
History, 09.01.2021 01:00
question
English, 09.01.2021 01:00
question
Mathematics, 09.01.2021 01:00
Questions on the website: 13722365