Flowcharting Technique is one way to learn the process of computing with a drawing program flow. This is taught at the beginning of the making of computer, using the BASIC language that human-oriented language. VBasic, Java and Lotus Domino adopted statement of BASIC.
Sunday, September 6, 2009
24. Computer Programming with flowcharting Technique (page 24)
FIG.26
7.1.6. f. WHILE . . . WEND
1F1.
10 CLS
15 PRINT “PROG022”
20 X = 1
30 WHILE X < = 100
40 PRINT X;
50 X = X + 1
60 WEND
70 END
1F2.
10 CLS
15 PRINT “PROG023”
20 X = ( 1 – 1 )
30 WHILE X < 100
40 X = X + 1
50 PRINT X;
60 WEND
70 END
Note:
( PRINT X); backward and (PRINT X) ; in front )
If You change line number 40 and 50
40 X = X + 1
50 PRINT X;
change
40 PRINT X;
50 X = X + 1
Output:
2 3 4 . . . . 100 101 0 1 2 3 4 . . . . 100
Followers
Blog Archive
-
▼
2009
(38)
-
▼
September
(16)
- 25. Computer Programming with flowcharting Techniq...
- 24. Computer Programming with flowcharting Techniq...
- 23. Computer Programming with flowcharting Techniq...
- 22. Computer Programming with flowcharting Techniq...
- 21. Computer Programming with flowcharting Techniq...
- 20. Computer Programming with flowcharting Techniq...
- 19. Computer Programming with flowcharting Techniq...
- 18. Computer Programming with flowcharting Techniq...
- 17. Computer Programming with flowcharting Techniq...
- 16. Computer Programming with flowcharting Techniq...
- 15. Computer Programming with flowcharting Techniq...
- 14. Computer Programming with flowcharting Techniq...
- 13. Computer Programming with flowcharting Techniq...
- 12. Computer Programming with flowcharting Techniq...
- 11. Computer Programming with flowcharting Techniq...
- 10. Computer Programming with flowcharting Techniq...
-
▼
September
(16)