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 after the following statements have been executed?int x = 4, y = ...
Post by: Eels on Dec 16, 2016
What will be the value of z after the following statements have been executed?   

int x = 4, y = 33;
double z;
z = (double) (y / x);

A) 8.0
B) 0
C) 8.25
D) 4


Title: Re: What will be the value of z after the following statements have been executed?int x = 4, y = ...
Post by: Toothy on Dec 17, 2016
Content hidden


Title: Re: What will be the value of z after the following statements have been executed?int x = 4, y = ...
Post by: Eels on Jan 31, 2017
I was nearly about to give up, thanks


Title: Re: What will be the value of z after the following statements have been executed?int x = 4, y = ...
Post by: Toothy on Mar 16, 2017
Good luck tackling the rest