Chaotic567 Chaotic567
  • 13-10-2022
  • Computers and Technology
contestada

Which of these will evaluate to a floating point result without data loss in C++?
-float x = 5 / 3;
-float f = 7.0 / 4;
-double y = 10 / 2;
- float z = (float) (7 / 4);

Respuesta :

Otras preguntas

What does it mean to say that momentum is conserved?
Substitution method 1) 3x + y = 7 4x + 2y = 16 2) 2x + 2y = 4 X - 2y = 0
The main difference among the types of symbiotic relationships is a. how many species either benefit or are harmed. b. how many species are eaten. c. how many sp
A child throws a ball up in the air to a height of 3.5 m and catches it at the same point from which he threw it. The ball is in the air for a total of 1.7 s. W
A vaccine a. can be harmful because it contains pathogens such as viruses. b. contains a changed pathogen, so the pathogen is no longer harmful. c. provokes a r
A child throws a ball up in the air to a height of 3.5 m and catches it at the same point from which he threw it. The ball is in the air for a total of 1.7 s. W
The main difference among the types of symbiotic relationships is a. how many species either benefit or are harmed. b. how many species are eaten. c. how many sp
All of the following were provisions of the Constitution as originally ratified EXCEPT (A) indirect election of senators (B) the counting of three fifths of sla
All of the following were provisions of the Constitution as originally ratified EXCEPT (A) indirect election of senators (B) the counting of three fifths of sla
Eric receives a weekly salary of $200 plus a 10% commission on all sales. Last week,Eric had a total of 2,500 in sale.How much total money did Eric make last we