Hour 9 Programming Algorithms

In this hour, you will learn about programming algorithms that are common across all programming languages. An algorithm is a common procedure or methodology for performing a certain task. In mathematics, algorithms provide step-by-step methods for solving a problem in a finite number of steps that can require some repetition. To keep things simple, you’ll see the algorithms in Liberty BASIC, but the concepts you learn here are important no matter which programming language you use.

You will learn how to use your programs to count data values and accumulate totals. The computer is a perfect tool for counting values such as the number of customers in a day, month, or year or the number of inventory items in a department’s ...

Get Sams Teach Yourself Beginning Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.