Josef “Jeff” Sipek

School

I have decided to add another class to my course load. Since I had a couple of credits free (the whole scholarship thing) so I added COM 252-01 which is Advanced C++. I am 99.999% certain that I will not learn anything new there, but it’s good for at least two things…

  • releave some of the tension created by Java
  • make it look like I did quite a bit of work in school :-)

Anyway, for the first homework we were supposed to write a program that converts between the celsius and fahrenheit scales. I got carried away (as always). This is sample session of my program…

You have: 50 reaumur
You want: romer
       = 40.312500

You have: 212 fahrenheit
You want: newton
       = 33.000000

You have: 5 celsius
You want: delise
       = 142.500000

You have: 77 delise
You want: rankine
       = 579.270020

It is obviously based on the great Unix/Linux utility ’units’ which unfortunately does not do temperature scales.

0 Comments »

Atom feed for comments on this post.

Leave a comment

Powered by blahgd