Homework 1
Physics 231C: Simulations in C++
Spring 1999
Problem Set 2
Due 2:00 pm Tuesday, April 20.
All problems from Textbook by Barton and Nackman:
- 2.7 If statements are not syntactically correct, explain what is
wrong with them.
- 2.8
- 2.10
- 2.11
- 2.12
In problems 2.11 and 2.12 show what happens on the computer
when you compile and run the program.