Topic Content:
- How To Write A Simple Basic Program
Example 2.2.1:
Write a simple Basic program to calculate the sum of 10, 15, 20 and 25.
Solution
Let A, B, C and D represent the four values. Let SUM = A + B + C + D
10 REM: SUM OF FOUR VALUES
20 CLS
30 LET A = 10
You are viewing an excerpt of this Topic. Subscribe Now to get Full Access to ALL this Subject's Topics and Quizzes for this Term!
Click on the button "Subscribe Now" below for Full Access!
Subscribe Now
Note: If you have Already Subscribed and you are seeing this message, it means you are logged out. Please Log In using the Login Button Below to Carry on Studying!
Responses