120. Write a QBASIC program to find the sum of square of first
10 integers.
DECLARE SUB SERIES ( )
CLS
CALL SERIES
END
SUB SERIES
FOR I = 1 TO 10
S = S + I ^ 2
NEXT I
PRINT “SUM OF SQUARE FIRST 10 INTEGERS=” ; S
END SUB
SEE Computer Science QBASIC Programming Specification Table 2076, Networking and Telecommunication, Ethical and Social Issues in ICT, Computer Security, E-Commerce, Contemporary Technology, Number System, Database Management System (MS Access), Modular Programming, Sequential File Handling, C Programming Basics, SEE Computer E-Book Grade IX and X PYTHON
No comments:
Post a Comment