Post a New Question | Current Questions | Live Experts | Download
Homework Help: Mathematics: Arithmetic: BASIC
Sometimes in your math class, you may be asked to learn some functions from a computer language called BASIC. The purpose of this page is to help you understand the main commands and functions of the BASIC program.
First, let's talk about the LET command. You use this command when you need to substitute a variable with a certain value. For example, you might say, LET X = 10 to let the computer know you want X to equal 10!
Next, the PRINT command is probably the most important to know. This command tells the computer exactly what to print on its screen. If you say:
LET X = 10
PRINT X
then the computer will print the number 10 on the computer screen.
Getting a little more advanced, the INPUT command is used to ask what the value of a variable is, and then keeps that value in its head. If you say
LET X = 10
INPUT X
then the computer will store the number 10 in its head.
Pretty cool huh? To learn more about the BASIC program, try searching for books in your library, or other websites via search engines.
Homework Help: Mathematics: Arithmetic
For Further Reading
|