[Chapter 5] [Home] [Glossary] [Previous Slide] [Next Slide]


[5.10] A Program to Add Two Numbers in a High-level Language (True BASIC)

A sample program:
Input A, B          Read two numbers A and B.
Let SUM = A + B     Add them up and call the result SUM.
Print SUM           Print the value of SUM.
End                 Halt the process.


[Chapter Contents] [Home] [Glossary] [Previous Slide] [Next Slide]