Times+Table+Helper




 * This lesson will cover**
 * Handling user input
 * Variables
 * Fixed loops
 * Validating input
 * Working with text


 * Mobile features**
 * Touch interface
 * Using the keypad

Know your times tables? All of them…? How’s your 47 times table?! In this lesson, we’re going to create a handy times table reminder that goes way beyond the 1 to 12 times tables.
 * Introduction**


 * Task 1: Creating the interface**

Let’s consider the main steps we need to code in our game. There are **three** main stages:
 * Task 2: Designing the solution**
 * Getting the times table number from the user via the text box
 * the times table header e.g. **The 12 Times Table**
 * Creating the times table itself



To **create a new line in the table** we create the following block of text: **loopCounter x tableNumber = loopCounter x tableNumber** variable text variable text math //value value result of calculation//



The screencast for times table helper is located in the shared computing folder.

Design and write an app to create a conversion table of kilograms to pounds
 * Extension 1: Weight converter**

(1kg = 2.2 lb). The table should go from : a) 1 to 10 b) 5 to 100 in steps of 5 (use the STEP feature in the loop) e.g. //Kilogrammes to Pounds conversion//

//1kg = 2.2lb//

//2kg = 4.4lb//

//3kg = 6.6lb// …etc.


 * NB There is no input from the user in this app. It should just work when you click a “Display conversion table” button**

Design and write an app that lets the user enter the current exchange for US Dollars and produces a table to US Dollars to Pounds. Choose suitable start and end points for the amounts, as well as an interval (step) for your table. Use a search engine to find out the current exchange rate when tesing your app.
 * Extension 2: Currency converter**


 * Did you understand?**

Complete the sheet below: