Wednesday, June 20, 2012

QBasic 64 : Arithmetic Stuff

Mine! Mine! Mine! It’s my stuff.  Infants and even seagulls  intuitively learn how to count by tracking and accounting for their stuff.  Arithmetic was invented to keep track of stuff.



Children are delighted when they increase or add to their stuff.  It is no wonder addition was the first arithmetic operation to be created.  In QBasic the addition symbol is “+”

Children are sad when they have to give up or subtract their stuff.  In QBasic the subtraction symbol is “-“.

Happy days are here again when children learn multiplication  is a form of accelerated addition.  In QBasic the “*” is the symbol for multiplication.

Another sad event is when we have to give up or divide stuff.  Think of multiplication in reverse.   
In QBasic the “/” is the symbol for multiplication. 

Examples of QBasic arithmetic would be:

Num1 + Num2 = Ans1
Ans – Corr = Diff1
Num 1 * Num2 = Prod1
Prod1 / Num2 = Quot1
  
These are the four basic arithmetic operators in QBasic.



Mine mine mine (Finding Nemo) posted by as0k
George Carlin Talks About "Stuff" posted by CappyNJ

No comments:

Post a Comment