Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Eels on Dec 16, 2016



Title: What will be the value of z as a result of executing the following code?int x = 5, y = 28;float z;z ...
Post by: Eels on Dec 16, 2016
What will be the value of z as a result of executing the following code?

int x = 5, y = 28;
float z;
z = (float) (y / x);

A) 3.0
B) 5.60
C) 5.6
D) 5.0


Title: Re: What will be the value of z as a result of executing the following code?int x = 5, y = 28;float ...
Post by: Toothy on Dec 16, 2016
Content hidden


Title: Re: What will be the value of z as a result of executing the following code?int x = 5, y = 28;float z;z ...
Post by: Eels on Jan 31, 2017
YOU'RE AWESOME


Title: Re: What will be the value of z as a result of executing the following code?int x = 5, y = 28;float z;z ...
Post by: Toothy on Mar 16, 2017
Good luck tackling the rest