Introduction: Lesson 2 Programming

Picture of Lesson 2 Programming

To start with the next programming tutorial you need a real programming program. The program can be downloaded for free at just Basic.com. This programming language is easy and free so I thought our next tutorial should be using that.

Step 1:

Picture of

The first step is to know the word printing word. The word we will now use is print. So to print your name on the screen you would have to write (print mike). So it is a bit different from giving the computer commands.

Step 2:

Picture of

Now let's make something harder. To make a script that doubles numbers you can use the script below.

input x
x=2*x
print "doubled is"
print x

This code indicates what x is and then displays it doubled. The * is the multiplication key.

Step 3:

Step 4:

Picture of

Please fav and follow. also check out my youtube channel from this link.http://www.youtube.com/channel/UCwc6nYCOwF-e83hj3f_D_2Q

Comments

About This Instructable

813views

20favorites

License:

Bio: I do a little of everything. I like electronics. Chemistry physics and robotics.
More by the electrical engineer:How to make the elecgo carTo take care of a parakeetHow to take care of a tortoise
Add instructable to: