a program that will test the teperature equalities under set conditions
$30-5000 USD
Ukończony
Opublikowano prawie 19 lat temu
$30-5000 USD
Płatne przy odbiorze
Java Program that has these Requirements: A Temperature class that has two parameters, a temperature value (floating-point) number and a character for the scale, either 'C' or 'F'. Class will have four constructor methods, one for each instance variable (assume zero degrees if no value is specified and C if no scale is specified, one with two parameters for the two instance variables, and a default constructor (set to zero degrees Celsius). Class will also have two accesor methods, one to return the temperature in C and one to return the temperature in F, using the formulas from the textbook, and round to the nearest tenth of a degree. It will have three reset methods, one to set the value, one to set the scale ('F' or 'C') and one to set both. It will have three comparison methods, one to test whether two temperatures are equal, one to test whether one temperature is greater than another, and one to test whether one temperature is less than another. A suitable toString() method. -A driver program that tests all the methods. -Use each of the constructors, include at least one true and one false case for each of th comparison methods, and test at least the following temperature equalities: 0.0 degrees C = 32.0 degrees F, -40.0 degrees C = -40.0 degrees F, and 100.0 degrees C = 212 degrees F.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Java, so platform is not important.