Week 2

Post date: Feb 06, 2017 6:7:23 AM

Getting Started

1.2 Expressions and Assignment Statements

1.3 The Class String

1.4 Comments

Interesting links:

Recommended Self-Test Exercises:

  • p 52: Ex. 10-16.

    • p 60-61: Ex. 17-21.

    • p 64-65: Ex. 22, 23.

    • p 77: Ex. 24-30, 32

Lab Exercise:

    1. Write a program that declares 3 real number variables N1, N2, and N3.

    2. Save the result of N1 + N2 / N1 in the variable N3

    3. Display the content of all the variable as shown below: