Hello C++: Variables

At the end of this lesson you will know what a variable is and how to use them in a program. You will be able to write a program that will input values, perform a simple calculation and output the result.

1. Print and read the lesson. (Punch, staple, put in your binder.) Variables

2. Do the online tutorial: basic:

3. Run each of the programs from the lesson:

hello1, hello2, inches1, inches2, purchase, feet to inches,
average, hypotenuse, rounded average

To get the most out of these programs

4. Using the sample programs as a model, write a program to do some other calculation. Follow good programming habits:

Copyright © Zebra0.com
All rights reserved worldwide.

 
 

C++ variables