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

select the statement that most accurately describes the neolithic agricultural revolution
What is polygamy? Explain please:)
The atomic number of an element is the same as its _________________. a. neutrons b. mass c. reactivity d. protons
Discuss the controversies concerning the racial identity of ancient Egyptians. What is the significance of this controversy for the history of African-Americans
For The Questions, a club has 10 members. a. Find the number of different slates of 3 officers (list of president, vice-president, and treasurer) that the club
Which statement best defines the term economics?
Calculate the number of atoms of carbon in 3.8 moles of methane (CH4)
A carton of milk contains 2.5L. If Zoe drinks 250ml twice a day, for how many days will the bottle last? The answer is 5 days but how? Please help
In the 1800s, why did the US government want to keep the number of free states and slave states equal?
A board game that normally costs $30 is on sale for 25 percent off. What is the sale price of the game?