Java Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pchahar
    New Member
    • Dec 2006
    • 9

    Java Application

    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
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    In Java or Javascript? Also, where are you trying to get input from and what kind of math are you trying to do.



    Originally posted by pchahar
    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

    Comment

    Working...