Learn how to begin program using BASIC programming language for Beginners...
For more information.. Drop your comments...
GET THE SOURCE CODE BELOW
PROGRAM TO CALCULATE THE AVERAGE OF THREE NUMBERS
1 CLS
2 REM PROGRAM TO CALCULATE THE AVERAGE OF THREE NUMBERS
3 NUM1 = 10
4 NUM2 = 20
5 NUM3 = 40
6 SUM = NUM1 + NUM2 + NUM3
7 AVE = SUM / 3
8 PRINT SUM
9 WRITE AVE
10 END
PROGRAM TO CALCULATE THE AREA OF A TRIANGLE
5 CLS
10 REM PROGRAM TO CALCULATE THE AREA OF A TRIANGLE
20 INPUT "ENTER YOUR BASE ", B
30 INPUT "ENTER YOUR HEIGHT ", H
40 PI = 0.5
50 AREA = PI * B * H
60 PRINT "THE AREA OF A TRIANGLE ID = ", AREA
70 END
Use it anywhere it free...
Am ready to learn
ReplyDelete