Basic
Computer 
Programming:

consists of 5 main operations
1. input and output
2. conditional processing
3. conditional branching
4. subroutine branching
5. looping and nested loops 

Nested loops: a loop within a loop.

Ex:1_________________________________________________
Line 10 asks the user for a 2 dimensionally subscripted variable y(0,0).
"Wi, sub zero, zero"
Line 15 sends control into a loop down to line 30 "next i"
Line 20 sends control into a nested loop down to line 25 'nextj'
so when i=1 the inside loop loops 3 times.
When i=2 the inside loop loops 3 times.
When i=3 the inside loop loops 3 times. 
So the inside loop loops for 9 times.
The y(i,j) variables look like this.
y(1,1)	y(1,2)	y(1,3)
y(2,1)	y(2,2)	y(2,3)
y(3,1)	y(3,2)	y(3,3)

Actually we have created a small table or matrix of value.

Now line 37 thru 55 repeats the process with the exception of printing instead of inputing values.
Line 60 sends control back to the top.
_________________________________________________
__________________________________________________
_________________________________________________
Assignments:
1.  Write a program that will ask how much you weighed for 12 weeks and adds a weekly weight increase to  that amount and prints out the new weight totals.  Use looping or nested loops.