CLS
FOR r = 1 TO 5
p = r
FOR c = 1 TO r
PRINT p;
p = p + 5 - c
NEXT c
NEXT r
END
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
5 10 15 20 25
ReplyDelete7 12 17 22
9 14 19
11 16
13
solve this pettern program in q basic