Anne
Dawson: CSCI101A_LAB2_SP04.htm
Special instructions: For
this assignment you may work in teams of 2, or alone.
This lab is due at the end of the lab session.
Lab
2 Specification
-------------------
Part
1
------
Study:
http://www.doc.mmu.ac.uk/aric/eae/Weather/Older/Beaufort_Scale.html
Part
2
------
Write
a program (lab2.cpp) which requests the user enter a wind speed in mph, and
outputs the Beaufort Scale (Force) value and a description according to the
table in the web page referred to above.
You may assume that the user will enter a whole number in the range 0 to
31.
For
example, if the user enters a value of 30, the program outputs:
Force
6, Strong breeze
Part
3
------
Amend
your program so that it repeats as often as the user requests
Submission
instructions:
-----------------------
At
the end of the lab session you should save just your source code file (lab2.cpp)
to your folder in CSCI101A\Week02\Lab2.
If
you are working in a team, both team members save the same file to their own
folder.
Make
sure that you include your name/s, the date and filename (lab2.cpp) in comments
at the top of the code.