Basic
Computer Programming:

consists of 4 main operations
1. input and output
2. conditional branching
3. subroutine branching
4. looping 
EX:1_________________________________________________
Line 40 asks the user for a variable value 'ch'.
The ONGOSUB statement checks to see if the value is 1,2, or 3.
If it is 1 control switches to subroutine at line 200 and return from line 210 to line 060
If it is 2 control switches to subroutine at line 300 and return from line 310 to line 060
If it is 3 control switches to subroutine at line 400 and return from line 410 to line 060
Line 060 sends user back (in a loop) to top of program to input a new value.
EX:2_________________________________________________

EX:3_________________________________________________

Assignments:
1.  Write a program that will test a person weight and tell them to go one of three a diets depending on their weight.
2.  Write a program that will ask for 10 items you ate today and the calories consumed in each.  Then add all the calories up and use a subroutine branch to either "You're a pig" or "You're on your way to being glamorous!!"

EMAIL:  attach your assignment to your email.