Simple Calculator more than you expect from school teacher!!!

Please click below to obtain (download) source program file.
Open that file is QBASIC.
.Download Link is:
download calculator.bas files
This program looks like simple desktop calculator, ya you can't use mouse, though numeric keypads will work well to do calculations. See how is this calculator functions. I have made the coding as simple as possible so that you can follow the code and understand it easily.
If you want do more scientific calculations, you may try yourself at home. It will be fun to do programming, believe me.
Enjoy your programming.

3 comments:

  1. print odd number from 20 to 1 using for ..next loop??? How can??

    ReplyDelete
  2. type the following program code:
    CLS
    FOR P = 20 TO 1 STEP -1
    IF P MOD 2=1 THEN
    PRINT P
    END IF
    NEXT P
    END

    ReplyDelete
  3. can u type
    cls
    input b':b
    dim a,b as int
    for a=20 to b step 2
    c=a+b
    next a
    end

    ReplyDelete