EmbLogic's Blog

issue in assignement 1

in qo 3 how airthmetic operators are performing

2 Responses to issue in assignement 1

  1. hemant.kumar says:

    multiply(*) —>(/)—->(%)—>(+)—>(-)
    now you will get you answer..
    -3*4%-6/5
    step 1. (-3+4)%-6/5
    step 2. 1%-(6/5)
    step 3. 1%-(1)
    step 4. 0 answer

  2. hemant.kumar says:

    sorry its -3*4%-6/5
    first solve * then / and finally %
    you will get your answer

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>