P: 9

Can you write a java application that calculates the value of the following expressions
a+=b/c%d++ and bx<<=8
The range of values for a=5, b=5, c=3, and d=2
bx values are 1,0,1,2,3,7,16
 
Share this Question
10K+
P: 13,264

Can you write a java application that calculates the value of the following expressions
a+=b/c%d++ and bx<<=8
The range of values for a=5, b=5, c=3, and d=2
bx values are 1,0,1,2,3,7,16
You need to show some of your own effort first before people can start helping you out.
 
P: 1

You need to show some of your own effort first before people can start helping you out.
Hello, I need the same help. I got to write a java application a+=b/c%d++
a=5, b=4, c=3, and d=2 and bx<<=8
I can send you what I have been working with if you want me to. Thanks
  Expert 100+
P: 1,510

Hello, I need the same help. I got to write a java application a+=b/c%d++
a=5, b=4, c=3, and d=2 and bx<<=8
I can send you what I have been working with if you want me to. Thanks
post the code you have been working on then we can try to help
  10K+
P: 13,264

Hello, I need the same help. I got to write a java application a+=b/c%d++
a=5, b=4, c=3, and d=2 and bx<<=8
I can send you what I have been working with if you want me to. Thanks
Yes, please send the program that you have written.
 
P: 36

Can you write a java application that calculates the value of the following expressions
a+=b/c%d++ and bx<<=8
The range of values for a=5, b=5, c=3, and d=2
bx values are 1,0,1,2,3,7,16
I think the value of a will be 5 ??right???
but I don't know what does he mean and want bat the expression "bx<<=8"
  100+
P: 316

here is a sample code  public class MM {

public static void main(String args[])

{

int a=5,b=5,c=3,d=2;

int bx[]={1,0,1,2,3,7,16};

System.out.println(a+=b/c%d++ );

for(int i=0;i<7;i++)

System.out.println(bx[i]<<=8);

}

}
and here is the sample outputs:  6

256


256

512

768

1792

4096
anybody please tell me if i am wrong .
    Question stats  viewed: 1442
 replies: 7
 date asked: Dec 10 '06
