Back to Course

JSS2: COMPUTER STUDIES - 2ND TERM

0% Complete
0/0 Steps
  1. Introduction To Basic Language I | Week 1
    7 Topics
    |
    1 Quiz
  2. Introduction To Basic Language II | Week 2
    2 Topics
    |
    1 Quiz
  3. Computer Ethics I | Week 3
    6 Topics
    |
    1 Quiz
  4. Computer Ethics II | Week 4
    2 Topics
    |
    1 Quiz
  5. Safety Measures In Computer Environment | Week 5
    3 Topics
    |
    1 Quiz
  6. Computer Graphics Packages I | Week 6
    3 Topics
    |
    1 Quiz
  7. Computer Graphic Packages II | Week 7
    6 Topics
    |
    1 Quiz



Lesson Progress
0% Complete

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!

avatar

Responses

Your email address will not be published. Required fields are marked *

error: Alert: Content selection is disabled!!