EmbLogic's Blog

query

would any one please let me know that what is rudimentary calculator………………………?

One Response to query

  1. msiddarth says:

    The operations which will be performed by this calculator are addition, subtraction and multiplication.
    The calculator should work as follows.
    (a) All the keyboard entries described below should be echoed on the monitor.
    (b) The first operand should be typed in from the keyboard. It should be followed by a space typed on the keyboard.
    (c) The operation to be carried out should be typed next followed by a space. This operation can be +, ? or ?.
    (d) The second operand should be typed in followed by . The calculation should now be performed and the result should be displayed on the next line.
    An example is shown below.
    2138 + 9528
    11666
    The operands will be positive integers up to 15 digits long.

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>