subject
Engineering, 05.05.2020 23:21 ccispoppin12

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
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 18:20
Asimple rankine cycle uses water as the working fluid. the water enters the turbine at 10 mpa and 480c while the condenser operates at 6 kpa. if the turbine has an isentropic efficiency of 80 percent while the pump has an isentropic efficiency of 70 percent determine the thermal efficiency
Answers: 1
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, 30.06.2019 14:00
question
Mathematics, 30.06.2019 14:00
question
Mathematics, 30.06.2019 14:00
question
Biology, 30.06.2019 14:00
question
Biology, 30.06.2019 14:00
Questions on the website: 13722361