public
Description: My school work and other related school things.
Homepage:
Clone URL: git://github.com/xenoterracide/school.git
update assign e5p1 in readme
xenoterracide (author)
Sun Apr 20 21:17:49 -0700 2008
commit  d418614ec04a21a3e8e2e079935816ef29c1c39d
tree    cc563303f944b3c61d8e270579c939964c7555dc
parent  04acfdf54e5436dbc7635eb95d9d0e29c153ac22
...
11
12
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
0
@@ -11,3 +11,19 @@ Exercise-4 (page 131): Problem 8
0
   each time your, a random saying will be printed. hint: the index of the 
0
   array will be the random number generated
0
 Exercise-5 (page 161): Problem 1
0
+  physicists tell us that the lowest possible temperature is absolute zero.  
0
+  absolute zero is -459.69 (note: actually the most current number I can find 
0
+  is -459.67 which suggests the book was never right) degress Fahrenheit.
0
+  a.) Accept input from the user: a beginning temperature, an ending
0
+    temperature, and an increment (all fahrenheit).
0
+  b.) check for bad input: at temp less than absolute zere and an ending
0
+    temperature less than a beginning temperature. the program will send a 
0
+    message to stderr if either condition is detected. the program will 
0
+    send a message to stderr if either condition is detected.
0
+  c.) print a header showing "fahrenheit celsius " print all the values from
0
+    the beginning temperature to the ending temperature. use a looping 
0
+    mechanism. the conversion formula is C = (F - 32) / 1.8
0
+
0
+  * bonus: make sure the user enters a number, either decimal or floating 
0
+  * point; e.g., 5.5, .5, or 5. (note: this is stupid it should just convert 
0
+  * it instead of making the users life harder)

Comments