Education Is The Key To Success
News Feed
9th
10th
11th
12th
Grammar (Eng)
Grammar ( Ur)
Essays (Eng)
Essay (Ur)
Past Papers
Guess Papers
Short Stories
Library
Scholarship
Online Courses
Admission Updates
MDCAT
Search This Blog
Tuesday 31 December 2019
Computer Studies For Class IX (Science) and X (Arts /General /Humanities Group) - Practical No.12
Go To Index
Practical No. 12: W.A.P. to calculate the sum of first ten natural numbers.
10 CLS
20 For A=1 to 10 Step 1
30 Let S=S+A
40 Print A,S
50 Next A
RUN
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment